Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Tobias Boege
On Thu, 27 Nov 2014, T Lee Davidson wrote: > Wow. That is a very good explanation. Thank you, Tobi! > > I did understand that "a form is by default its own event observer". But > I guess I did not fully understand exactly what that meant. > > (And, yes, I have seen code like, "Public Sub Form_Op

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread T Lee Davidson
On 11/27/2014 02:36 PM, T Lee Davidson wrote: > Wow. That is a very good explanation. Thank you, Tobi! > > I did understand that "a form is by default its own event observer". But > I guess I did not fully understand exactly what that meant. > > (And, yes, I have seen code like, "Public Sub Form_Op

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread T Lee Davidson
Wow. That is a very good explanation. Thank you, Tobi! I did understand that "a form is by default its own event observer". But I guess I did not fully understand exactly what that meant. (And, yes, I have seen code like, "Public Sub Form_Open()", and always wondered why it did not say "Form1_O

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Tobias Boege
On Thu, 27 Nov 2014, Tobias Boege wrote: > OK, "As name" comes as a bundle. It makes your newly created object raise > events under the given name and makes the current class its event observer. Read: ... current *object* its event observer. -- "There's an old saying: Don't change anything... ev

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Tobias Boege
On Thu, 27 Nov 2014, T Lee Davidson wrote: > On 11/27/2014 12:55 PM, Tobias Boege wrote: > > On Thu, 27 Nov 2014, T Lee Davidson wrote: > >> On 11/27/2014 08:39 AM, Beno?t Minisini wrote: > >>> Le 27/11/2014 14:29, Stephen a ?crit : > I'm not consciously overriding the event observer so I'm no

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread T Lee Davidson
On 11/27/2014 12:55 PM, Tobias Boege wrote: > On Thu, 27 Nov 2014, T Lee Davidson wrote: >> On 11/27/2014 08:39 AM, Beno?t Minisini wrote: >>> Le 27/11/2014 14:29, Stephen a ?crit : I'm not consciously overriding the event observer so I'm not clear how to not do it. Obviously I still

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Tobias Boege
On Thu, 27 Nov 2014, T Lee Davidson wrote: > On 11/27/2014 08:39 AM, Beno?t Minisini wrote: > > Le 27/11/2014 14:29, Stephen a ?crit : > >> I'm not consciously overriding the event observer so I'm not clear how > >> to not do it. > >> Obviously I still have much to learn. > >> > > > > mhForm1 = New

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread T Lee Davidson
On 11/27/2014 08:39 AM, Benoît Minisini wrote: > Le 27/11/2014 14:29, Stephen a écrit : >> I'm not consciously overriding the event observer so I'm not clear how >> to not do it. >> Obviously I still have much to learn. >> > > mhForm1 = New Form1(TabStrip1) As "Form1" >

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Stephen
On 11/27/2014 08:39 AM, Benoît Minisini wrote: > Le 27/11/2014 14:29, Stephen a écrit : >> I'm not consciously overriding the event observer so I'm not clear how >> to not do it. >> Obviously I still have much to learn. >> > mhForm1 = New Form1(TabStrip1) As "Form1" >

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Benoît Minisini
Le 27/11/2014 14:29, Stephen a écrit : > I'm not consciously overriding the event observer so I'm not clear how > to not do it. > Obviously I still have much to learn. > mhForm1 = New Form1(TabStrip1) As "Form1" \/ .

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Stephen
I'm not consciously overriding the event observer so I'm not clear how to not do it. Obviously I still have much to learn. On 11/27/2014 08:20 AM, Benoît Minisini wrote: > Le 27/11/2014 14:08, Stephen a écrit : >> GAMBAS: 3.5.4 >> Fedora 20 in a VM under 64 bit CentOS 6.5 >> MATE Desk

Re: [Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Benoît Minisini
Le 27/11/2014 14:08, Stephen a écrit : >GAMBAS: 3.5.4 >Fedora 20 in a VM under 64 bit CentOS 6.5 >MATE Desktop > >I'm a bit confused (some would say it's my normal state:) as to why, > when a form is dynamically instantiated within a tabstrip (or other > container) the Open and Show

[Gambas-user] Events not firing in dynamically instantiated forms.

2014-11-27 Thread Stephen
GAMBAS: 3.5.4 Fedora 20 in a VM under 64 bit CentOS 6.5 MATE Desktop I'm a bit confused (some would say it's my normal state:) as to why, when a form is dynamically instantiated within a tabstrip (or other container) the Open and Show events for the instantiated form don't fire. This c

Re: [Gambas-user] Events in local classes dont show up in the help

2014-11-18 Thread Benoît Minisini
Le 18/11/2014 07:08, Fabien Bodard a écrit : > Well it seem that the problem is for all local helps. As you can see > in my screenshot the class events are not listed. > > 2014-11-18 2:56 GMT+01:00 B Bruen : >> Looking at the help for a class in the current project it seems that any >> events decl

[Gambas-user] Events in local classes dont show up in the help

2014-11-17 Thread B Bruen
Looking at the help for a class in the current project it seems that any events declared do not appear in the help for that class. e.g. ' Gambas class file ''' A test for event inline help in local classes Event Test() '' A simple event Public Sub _new() End All that appears in the help brows

Re: [Gambas-user] Events not firing...

2014-07-10 Thread Stephen
On 07/10/2014 02:44 PM, Charlie Reinl wrote: > Am Donnerstag, den 10.07.2014, 14:26 -0400 schrieb Stephen: >> On 07/10/2014 02:04 PM, Charlie Reinl wrote: >>> Am Donnerstag, den 10.07.2014, 13:36 -0400 schrieb Stephen: On 07/10/2014 01:14 PM, Benoît Minisini wrote: > Le 10/07/2014 19:05, S

Re: [Gambas-user] Events not firing...

2014-07-10 Thread Charlie Reinl
Am Donnerstag, den 10.07.2014, 14:26 -0400 schrieb Stephen: > On 07/10/2014 02:04 PM, Charlie Reinl wrote: > > Am Donnerstag, den 10.07.2014, 13:36 -0400 schrieb Stephen: > >> On 07/10/2014 01:14 PM, Benoît Minisini wrote: > >>> Le 10/07/2014 19:05, Stephen a écrit : > On 07/10/2014 12:54 PM,

Re: [Gambas-user] Events not firing...

2014-07-10 Thread Stephen
On 07/10/2014 02:04 PM, Charlie Reinl wrote: > Am Donnerstag, den 10.07.2014, 13:36 -0400 schrieb Stephen: >> On 07/10/2014 01:14 PM, Benoît Minisini wrote: >>> Le 10/07/2014 19:05, Stephen a écrit : On 07/10/2014 12:54 PM, Benoît Minisini wrote: > Le 10/07/2014 18:46, Stephen a écrit : >>

Re: [Gambas-user] Events not firing...

2014-07-10 Thread Charlie Reinl
Am Donnerstag, den 10.07.2014, 13:36 -0400 schrieb Stephen: > On 07/10/2014 01:14 PM, Benoît Minisini wrote: > > Le 10/07/2014 19:05, Stephen a écrit : > >> On 07/10/2014 12:54 PM, Benoît Minisini wrote: > >>> Le 10/07/2014 18:46, Stephen a écrit : > Fedora 20 Mate > Gambas 3.5.90 >

Re: [Gambas-user] Events not firing...

2014-07-10 Thread Benoît Minisini
Le 10/07/2014 19:36, Stephen a écrit : > On a side note, the gotfocus event fires... and the change event for the > textbox also fires, I added a combobox and tested its keypress and > keyrelease events and they do not fire. So the problem appears isolated > to keypress and keyrelease. I'm going to

Re: [Gambas-user] Events not firing...

2014-07-10 Thread Stephen
On 07/10/2014 01:14 PM, Benoît Minisini wrote: > Le 10/07/2014 19:05, Stephen a écrit : >> On 07/10/2014 12:54 PM, Benoît Minisini wrote: >>> Le 10/07/2014 18:46, Stephen a écrit : Fedora 20 Mate Gambas 3.5.90 Create a project, place a textbox on FMain. Right cl

Re: [Gambas-user] Events not firing...

2014-07-10 Thread Stephen
On 07/10/2014 01:14 PM, Benoît Minisini wrote: > Le 10/07/2014 19:05, Stephen a écrit : >> On 07/10/2014 12:54 PM, Benoît Minisini wrote: >>> Le 10/07/2014 18:46, Stephen a écrit : Fedora 20 Mate Gambas 3.5.90 Create a project, place a textbox on FMain. Right cl

Re: [Gambas-user] Events not firing...

2014-07-10 Thread Benoît Minisini
Le 10/07/2014 19:05, Stephen a écrit : > On 07/10/2014 12:54 PM, Benoît Minisini wrote: >> Le 10/07/2014 18:46, Stephen a écrit : >>> Fedora 20 Mate >>> Gambas 3.5.90 >>> >>> Create a project, place a textbox on FMain. >>> Right click on the text boc, select events, select KeyRelease >>>

Re: [Gambas-user] Events not firing...

2014-07-10 Thread Stephen
On 07/10/2014 12:54 PM, Benoît Minisini wrote: Le 10/07/2014 18:46, Stephen a écrit : Fedora 20 Mate Gambas 3.5.90 Create a project, place a textbox on FMain. Right click on the text boc, select events, select KeyRelease Place a STOP in the keyrelease event for the textbox Run t

Re: [Gambas-user] Events not firing...

2014-07-10 Thread Benoît Minisini
Le 10/07/2014 18:46, Stephen a écrit : > Fedora 20 Mate > Gambas 3.5.90 > > Create a project, place a textbox on FMain. > Right click on the text boc, select events, select KeyRelease > Place a STOP in the keyrelease event for the textbox > > Run the program, select the textbox, press a

[Gambas-user] Events not firing...

2014-07-10 Thread Stephen
Fedora 20 Mate Gambas 3.5.90 Create a project, place a textbox on FMain. Right click on the text boc, select events, select KeyRelease Place a STOP in the keyrelease event for the textbox Run the program, select the textbox, press a key (and release it)nothing happens... keyrelease

Re: [Gambas-user] Events

2008-09-18 Thread Kari Laine
Thank You Fabien! this example should be in Gambas documentation. On Thu, Sep 18, 2008 at 1:35 AM, Fabien Bodard <[EMAIL PROTECTED]> wrote: > in what case ? to write you own class ? > > > 'class MyTest > > EVENT MyEvent > > Public test() For others who are beginner with Gambas this should be Pu

Re: [Gambas-user] Events

2008-09-17 Thread Fabien Bodard
in what case ? to write you own class ? 'class MyTest EVENT MyEvent Public test() RAISE MyEvent End 'Main Module Private hTest as Mytest Public sub Main() hTest = New MyTest as "MyTest" htest.Test end Public Sub MyTest_MyEvent() Print "Event Raised" End Fabien 2008/9/17 K

[Gambas-user] Events

2008-09-17 Thread Kari Laine
Hi, could someone please post a little example how these events work? Or refer me to a example in Gambas where their are used. Best Regards Kari Laine - This SF.Net email is sponsored by the Moblin Your Move Developer's chall