Re: [Gambas-user] Application_mousedown() + Application_keypress() ?

2009-09-13 Thread Lee McPherson
Ron_1st wrote: > On Monday 14 September 2009, Lee McPherson wrote: > >> Benoît Minisini wrote: >> I'm trying to get an application-wide mouse down event to register. I found that when I do a Form_mousedown() it only triggers when you click on an empty part of the form, not w

Re: [Gambas-user] Application_mousedown() + Application_keypress() ?

2009-09-13 Thread Ron_1st
On Monday 14 September 2009, Lee McPherson wrote: > > Benoît Minisini wrote: > >> I'm trying to get an application-wide mouse down event to register. I > >> found that when I do a Form_mousedown() it only triggers when you click > >> on an empty part of the form, not when you're clicking on any t

Re: [Gambas-user] how to start a file?

2009-09-13 Thread Dimitris Anogiatis
Hey Robi, one of the options is to use the gb.settings library. while you're on the IDE press CTRL and P then click on the Componets tab, find gb.settings and click on the box on the left side of the selection then press Ok now in your code you need to use this on top of your code (ie put this o

Re: [Gambas-user] Application_mousedown() + Application_keypress() ?

2009-09-13 Thread Lee McPherson
Benoît Minisini wrote: >> I'm trying to get an application-wide mouse down event to register. I >> found that when I do a Form_mousedown() it only triggers when you click >> on an empty part of the form, not when you're clicking on any type of >> control. I'm looking for something that will tri

[Gambas-user] how to start a file?

2009-09-13 Thread yuhej
Hello, I just start with Gambas (used VB before) and hopefully I found a place where I can get some answers. At this moment I wish to add an option of attaching files in my application (by saving the path) and to open them later. Can someone tell me how can I start a file from Gambas? For instanc

Re: [Gambas-user] Is it a bug or a "feature"?

2009-09-13 Thread Aleksandrs Livshics
On Sunday 13 September 2009 19:16:34 Benoît Minisini wrote: > > Hi Gambas users. > > I have found that in version 2.16 Draw.Ellipse does not > > work as it was in 2.7 (my previous version). > > In 2.16 the parameters which should specify coordinates of the > > Ellipse centre are actually correspond

Re: [Gambas-user] Is it a bug or a "feature"?

2009-09-13 Thread Jussi Lahtinen
Maybe mean value of focuses? http://en.wikipedia.org/wiki/Ellipse#Elements_of_an_ellipse Jussi 2009/9/13 Benoît Minisini : >> Hi Gambas users. >> I have found that in version 2.16 Draw.Ellipse does not >> work as it was in 2.7 (my previous version). >> In 2.16 the parameters which should specif

Re: [Gambas-user] Form_Resize

2009-09-13 Thread Benoît Minisini
> Am Sonntag, den 13.09.2009, 02:01 +0200 schrieb Benoît Minisini: > > > Salut, > > > > > > is that my, or a general problem, on gambas2 2.16 I can make forms > > > bigger, but not smaller...or did I miss something ? > > > That I remarked on my "White-A4-PalmTop" for Debug-Watch-Windows but > > > n

Re: [Gambas-user] Is it a bug or a "feature"?

2009-09-13 Thread Benoît Minisini
> Hi Gambas users. > I have found that in version 2.16 Draw.Ellipse does not > work as it was in 2.7 (my previous version). > In 2.16 the parameters which should specify coordinates of the > Ellipse centre are actually corresponding to the upper left corner > of the rectangular area where ellipse

Re: [Gambas-user] Profiler for Gambas projects

2009-09-13 Thread Jussi Lahtinen
>>  I have many projects, with physics and math, different simulations, >> experimental game, etc. >>  Non of them do networking or uses database at this moment. >>  So, I don't know how much profiler can help you with them, but I >> guess in most cases very little. >> > At this point I can no more

[Gambas-user] Is it a bug or a "feature"?

2009-09-13 Thread Aleksandrs Livshics
Hi Gambas users. I have found that in version 2.16 Draw.Ellipse does not work as it was in 2.7 (my previous version). In 2.16 the parameters which should specify coordinates of the Ellipse centre are actually corresponding to the upper left corner of the rectangular area where ellipse is placed

Re: [Gambas-user] Profiler for Gambas projects

2009-09-13 Thread Doriano Blengino
Jussi Lahtinen ha scritto: > I have many projects, with physics and math, different simulations, > experimental game, etc. > Non of them do networking or uses database at this moment. > So, I don't know how much profiler can help you with them, but I > guess in most cases very little. > At th

Re: [Gambas-user] Check if a program is already started

2009-09-13 Thread Jesus Guardon
Jussi Lahtinen escribió: > You don't need variable "running", you can just do "Return False" or > "Return True". > Also "try" is unneeded. You are right! And for the subject of the thread, next time I will read carefully. Sorry! Jesus ---

Re: [Gambas-user] Profiler for Gambas projects

2009-09-13 Thread Jussi Lahtinen
> If a program does networking, database, or uses complex libraries, then > the bottleneck is almost always outside the program itself. So it makes > little difference in using python, gambas or assembler. I like Gambas because it is very fast to write, and in most cases it's also fast enough to

Re: [Gambas-user] Check if a program is already started

2009-09-13 Thread Jussi Lahtinen
Your code is fine for checking if some program is running, but it cannot check double instance. If your program asks pid of itself, it will find it! I didn't know about "pidof" (I have used Linux about one year), so thanks! Jussi PS. You don't need variable "running", you can just do "Return Fals

Re: [Gambas-user] Form_Resize

2009-09-13 Thread Jesus Guardon
Charlie Reinl escribió: > so let's talk about saved Debug-Watch-Windows, you make it bigger, to > see more and after that you leave the session. > When you restart new the Debug-Watch-Windows starts big, and can't be > shrunk smaller anymore. > Are you saving the size and position in Settings? I

Re: [Gambas-user] Form_Resize

2009-09-13 Thread Charlie Reinl
Am Sonntag, den 13.09.2009, 02:01 +0200 schrieb Benoît Minisini: > > Salut, > > > > is that my, or a general problem, on gambas2 2.16 I can make forms > > bigger, but not smaller...or did I miss something ? > > That I remarked on my "White-A4-PalmTop" for Debug-Watch-Windows but now > > I find tha