[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

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

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 Desktop

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
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 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 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 Form1(TabStrip1)

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 have much to

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... ever!

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

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_Open(),

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_Open(),

[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 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 key

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

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 Place a STOP in

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 click on the text boc,

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 click on the text boc,

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 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 Create a

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 : Fedora 20 Mate

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, Benoît

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, Stephen a écrit