Re: [Gambas-user] stop event and gtk

2010-12-13 Thread Emanuele Sottocorno
It works, fantastic!!! Many tanks. Emanuele -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Busine

Re: [Gambas-user] stop event and gtk

2010-12-13 Thread Emanuele Sottocorno
Tanks Benoit, and all people developing Gambas. Emanuele Il giorno lun, 13/12/2010 alle 06.43 +0100, Benoît Minisini ha scritto: > > Hi Benoit, here is the project. > > The form showing the problem is the FLanguage". > > I suppose it is a GTK bug 'cause of switching to QT it works fine. > > > > O

Re: [Gambas-user] stop event and gtk

2010-12-12 Thread Benoît Minisini
> Hi Benoit, here is the project. > The form showing the problem is the FLanguage". > I suppose it is a GTK bug 'cause of switching to QT it works fine. > OK. The bug should be fixed in revision #3359. Regards, -- Benoît Minisini ---

Re: [Gambas-user] stop event and gtk

2010-12-11 Thread Benoît Minisini
> Hi, > having the need to avoid the user closes the form before filling all > fields, I try to intercept the click on the Close Button on Form Title > with the following sub: > > Public Sub Form_Close() > If (Not $bLang) Then Stop Event > End > > under GTK the Form_Close event isn't stopped. >

Re: [Gambas-user] stop event and gtk

2010-12-11 Thread Michael
Not sure what you mean by "$bLang". In my Close button I set the Form.Tag to any value and then test for this in the form_close event. If the user closes from the Form Header the tag is not set and I can use a message box to confirm the closure. The Stop Event works ok. I am using Ubuntu 10.10

[Gambas-user] stop event and gtk

2010-12-11 Thread Emanuele Sottocorno
Hi, having the need to avoid the user closes the form before filling all fields, I try to intercept the click on the Close Button on Form Title with the following sub: Public Sub Form_Close() If (Not $bLang) Then Stop Event End under GTK the Form_Close event isn't stopped. Gambas3 rev 3355 Ubun