[Gambas-user] stop event and gtk

Emanuele Sottocorno sotema at ...626...
Sun Dec 12 11:55:23 CET 2010


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.

Il giorno dom, 12/12/2010 alle 02.08 +0100, Benoît Minisini ha scritto:
> > 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
> > Ubuntu 10.04 x86_64
> > 
> > Tanks for help,
> > Emanuele
> > 
> 
> It works perfectly there. Please post your project so that we see if the 
> problem is in Gambas or in your code.
> 
> Regards,
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gbPneus.tar.gz
Type: application/x-compressed-tar
Size: 41499 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20101212/4c4d2337/attachment.bin>


More information about the User mailing list