[Gambas-user] stop event and gtk

Benoît Minisini gambas at ...1...
Sun Dec 12 02:08:21 CET 2010


> 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,

-- 
Benoît Minisini




More information about the User mailing list