[Gambas-user] stop event and gtk

Emanuele Sottocorno sotema at ...626...
Sat Dec 11 14:28: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





More information about the User mailing list