[Gambas-user] equivalent python self

2009-08-16 Thread Jean-Yves F. Barbier
Hi list, Is there an equivalent to Python 'self' into GB? i.e. into a proc: TreeView1_MouseDown() self.Enable = TRUE instead of TreeView.Enable = TRUE END -- BOFH excuse #7: poor power conditioning -- Let

[Gambas-user] Run()

2009-08-16 Thread Jean-Yves F. Barbier
Hi list, I'd like to know when exactly the Run() method from a form is run? -- It was Penguin lust... at its ugliest. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your

Re: [Gambas-user] equivalent python self

2009-08-16 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: Hi list, Is there an equivalent to Python 'self' into GB? i.e. into a proc: TreeView1_MouseDown() self.Enable = TRUE instead of TreeView.Enable = TRUE END This is LAST. But beware, it is the current sender of an event, not 'self'. There is

Re: [Gambas-user] equivalent python self

2009-08-16 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : Jean-Yves F. Barbier ha scritto: Hi list, Is there an equivalent to Python 'self' into GB? i.e. into a proc: TreeView1_MouseDown() self.Enable = TRUE instead of TreeView.Enable = TRUE END This is LAST. But beware, it is the current sender of an

Re: [Gambas-user] Run()

2009-08-16 Thread Charlie Reinl
Am Sonntag, den 16.08.2009, 15:37 +0200 schrieb Jean-Yves F. Barbier: Hi list, I'd like to know when exactly the Run() method from a form is run? Salut Jean-Yves, when you call it your form.Run() from outside your form -- Amicalment Charlie

Re: [Gambas-user] Run()

2009-08-16 Thread Jean-Yves F. Barbier
Charlie Reinl a écrit : Am Sonntag, den 16.08.2009, 15:37 +0200 schrieb Jean-Yves F. Barbier: Hi list, I'd like to know when exactly the Run() method from a form is run? Salut Jean-Yves, when you call it your form.Run() from outside your form Salut Charlie, ok, I though the only way

Re: [Gambas-user] equivalent python self

2009-08-16 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: Doriano Blengino a écrit : Jean-Yves F. Barbier ha scritto: Hi list, Is there an equivalent to Python 'self' into GB? i.e. into a proc: TreeView1_MouseDown() self.Enable = TRUE instead of TreeView.Enable = TRUE END This is

Re: [Gambas-user] equivalent python self

2009-08-16 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : ... i.e.: TreeView1_MouseDown() TextBox2756.Text = xxx LAST.Enable = TRUE = does it apply to TreeView1 or TextBox2756 ? END applies to TreeView1 -^ I see your ideas are not clear. In the above subroutine LAST refers to the object

[Gambas-user] refer to an object with a string

2009-08-16 Thread Jean-Yves F. Barbier
Hi list, I'm trying to refer to come couples Label/CheckBox that have the same suffix (lbl_ONE ckb_ONE) to enable/disable couple in one shot. But after building my strings that are orders, GB tell me its not an object: PUBLIC SUB lblckb_on_off(which AS String, on AS Boolean) DIM lbl AS

Re: [Gambas-user] refer to an object with a string

2009-08-16 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: Hi list, I'm trying to refer to come couples Label/CheckBox that have the same suffix (lbl_ONE ckb_ONE) to enable/disable couple in one shot. But after building my strings that are orders, GB tell me its not an object: PUBLIC SUB lblckb_on_off(which AS

Re: [Gambas-user] refer to an object with a string

2009-08-16 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : Jean-Yves F. Barbier ha scritto: Hi list, I'm trying to refer to come couples Label/CheckBox that have the same suffix (lbl_ONE ckb_ONE) to enable/disable couple in one shot. But after building my strings that are orders, GB tell me its not an object: PUBLIC

Re: [Gambas-user] refer to an object with a string

2009-08-16 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: Doriano Blengino a écrit : Jean-Yves F. Barbier ha scritto: Hi list, I'm trying to refer to come couples Label/CheckBox that have the same suffix (lbl_ONE ckb_ONE) to enable/disable couple in one shot. But after building my strings that are

[Gambas-user] overwrite a component ????

2009-08-16 Thread Charlie Reinl
Salut, my to days problem is: since gambas-0.95 I use an InputBox called InputBox, works good for me. With gambas2 it became a component (user-component). To day I added to the project the gb.form component, which includes his own InputBox even called InputBox. What is to do, to overwrite the

Re: [Gambas-user] Run()

2009-08-16 Thread Charlie Reinl
Am Sonntag, den 16.08.2009, 17:23 +0200 schrieb Jean-Yves F. Barbier: Charlie Reinl a écrit : Am Sonntag, den 16.08.2009, 15:37 +0200 schrieb Jean-Yves F. Barbier: Hi list, I'd like to know when exactly the Run() method from a form is run? Salut Jean-Yves, when you call it

Re: [Gambas-user] refer to an object with a string

2009-08-16 Thread Charlie Reinl
Am Sonntag, den 16.08.2009, 19:08 +0200 schrieb Doriano Blengino: Jean-Yves F. Barbier ha scritto: Doriano Blengino a écrit : Jean-Yves F. Barbier ha scritto: Hi list, I'm trying to refer to come couples Label/CheckBox that have the same suffix (lbl_ONE ckb_ONE) to

Re: [Gambas-user] overwrite a component ????

2009-08-16 Thread Benoît Minisini
Salut, my to days problem is: since gambas-0.95 I use an InputBox called InputBox, works good for me. With gambas2 it became a component (user-component). To day I added to the project the gb.form component, which includes his own InputBox even called InputBox. What is to do, to

Re: [Gambas-user] overwrite a component ????

2009-08-16 Thread Charlie Reinl
Am Sonntag, den 16.08.2009, 22:43 +0200 schrieb Benoît Minisini: Salut, my to days problem is: since gambas-0.95 I use an InputBox called InputBox, works good for me. With gambas2 it became a component (user-component). To day I added to the project the gb.form component, which

Re: [Gambas-user] setfocus eats way too much time

2009-08-16 Thread Benoît Minisini
Doriano Blengino a écrit : ... Fabien was asking what toolkit you are using: GTK or QT? Qt I've heard of a bug in the clipboard management of recent Qt4 versions. Could it be the source of your delay? Try the other one, who knows... it's a quick way to know if the problem is in the

Re: [Gambas-user] setfocus eats way too much time

2009-08-16 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : Fabien was asking what toolkit you are using: GTK or QT? Qt I've heard of a bug in the clipboard management of recent Qt4 versions. Could it be the source of your delay? IDTS: it is V. 2.15.2 official debian sid package (QT3 I think) Try the other one, who

[Gambas-user] treeview all leaves

2009-08-16 Thread Jean-Yves F. Barbier
Hi list, is there a fast'n easy way to read a treview (depth goes up to 5 levels) from 1st node to last without missing any leaf? JY -- List at least two alternate dates. -- Let Crystal Reports handle the reporting -

[Gambas-user] libtool management in Gambas 3 compilation problems

2009-08-16 Thread Benoît Minisini
Hi, I was in holidays the last week, but I took time to work on Gambas a little anyway. I did the following changes in the configuration process: - I put all custom autoconf macros in a m4 directory. I have upgraded them with the one provided by Ubuntu 9.04. - I drop libltdl, the library

Re: [Gambas-user] libtool management in Gambas 3 compilation problems

2009-08-16 Thread Dr. Diesel
2009/8/16 Benoît Minisini gam...@users.sourceforge.net Hi, I was in holidays the last week, but I took time to work on Gambas a little anyway. I did the following changes in the configuration process: - I put all custom autoconf macros in a m4 directory. I have upgraded them with the

Re: [Gambas-user] libtool management in Gambas 3 compilation problems

2009-08-16 Thread Benoît Minisini
Many thanks for the dedication and quick support! Is this an issue with the changes above, or some system issue on my part? Updated to revision 2236. [gar...@localhost trunk]$ ./reconf-all aclocal: couldn't open directory `m4': No such file or directory autoreconf: aclocal failed with

Re: [Gambas-user] libtool management in Gambas 3 compilation problems

2009-08-16 Thread Benoît Minisini
Many thanks for the dedication and quick support! Is this an issue with the changes above, or some system issue on my part? Updated to revision 2236. [gar...@localhost trunk]$ ./reconf-all aclocal: couldn't open directory `m4': No such file or directory autoreconf: aclocal failed

Re: [Gambas-user] libtool management in Gambas 3 compilation problems

2009-08-16 Thread Charlie Reinl
Am Montag, den 17.08.2009, 00:28 +0200 schrieb Benoît Minisini: Hi, I was in holidays the last week, but I took time to work on Gambas a little anyway. I did the following changes in the configuration process: - I put all custom autoconf macros in a m4 directory. I have upgraded them

Re: [Gambas-user] libtool management in Gambas 3 compilation problems

2009-08-16 Thread Dr. Diesel
2009/8/16 Benoît Minisini gam...@users.sourceforge.net Many thanks for the dedication and quick support! Is this an issue with the changes above, or some system issue on my part? Updated to revision 2236. [gar...@localhost trunk]$ ./reconf-all aclocal: couldn't open directory

Re: [Gambas-user] libtool management in Gambas 3 compilation problems

2009-08-16 Thread Charlie Reinl
Am Montag, den 17.08.2009, 00:52 +0200 schrieb Benoît Minisini: Many thanks for the dedication and quick support! Is this an issue with the changes above, or some system issue on my part? Updated to revision 2236. [gar...@localhost trunk]$ ./reconf-all aclocal: couldn't open

Re: [Gambas-user] refer to an object with a string

2009-08-16 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: Doriano Blengino a écrit : Thanks to both ouf you, I saved this thread to be sure to have it when needed :) I saw a Label2572... it seemed to me a little strange... And about obscure code, I think that well commented (and written!) code is

Re: [Gambas-user] TrayIcon and Embeding

2009-08-16 Thread Steven James Drinnan
No I am on fedora 11. It just appears to be loading problem. The delay fixed the problem. The error only happened when I auto-started the program on login. So it looks like some libraries were not initiated yet. Steven On Fri, 2009-08-14 at 16:11 +0300, Jussi Lahtinen wrote: There is some