>>> Please let us know the name of the program when it is added to the
examples. I
could learn a lot from it. great job.
Tom:
I've sent Benoît the source files, so look for RandomColorSort as the
project name, with the descriptor "Random Colors, Sorted by Hue". I hope
it's helpful to people l
Night
On 02/18/2014 08:18 PM, Benoît Minisini [via Gambas] wrote:
> Le 19/02/2014 02:09, Louis W. Adams, Jr. a écrit :
>
> > What is the best way to submit a GAMBAS program to be considered as an
> > example for beginner programmers? I have a simple pro
What is the best way to submit a GAMBAS program to be considered as an
example for beginner programmers? I have a simple program to offer, which
shows how to do a few basic things that I struggled with while learning
GAMBAS. (I'm still learning.) It generates random colors and sorts them by
hue
> It is NOT for your program's volatile data! In fact, you cannot write to
> one of these files from within the program (but you can from the IDE.)
The links you suggested were helpful, thanks. The data in my file is always
used when the program is run, program constants you could say. I placed
> Are you talking about your project at design time in the IDE or when your
> project runs, i.e. do you want to look at the file or does your program
> need
> it at run time? I guess the second but it's not clear to me...
I added my data file (a text file) to the Data section of the project during
I have a project with a text file associated with it. So there is a tab
displaying the data imported into the project (?) from the text file. How
do I access the data? Since the project is already aware of the data, I
wouldn't think that it's necessary to Open the file and Read its contents as
w
> Taking a screenshot to get the DrawingArea contents seems to be a very ugly
method to me.
I think it's ugly too, but I'm the only one using the programs I write so
I'm the only one offended. I'm a GAMBUS newbie, and I've been very confused
by posts that explain the proper way to convert the int
> Use dachart.screenx, dachart.screeny and you will have what you want.
Thanks very much, that works perfectly.
It is still the case that what I reported seems to be a bug that ought to be
fixed.
Lou
--
View this message in context:
http://gambas.8142.n7.nabble.com/Drawing-Area-Location-in-S
I have a drawing area control daChart on a form. To extract an image of that
control area using screenshot, I expected that the following would work,
where picSave is a Picture object. The number 28 accounts for the window
control frame at the top for my screen resolution in Ubuntu (1920x1080).