> 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 ------------------------------------------------------------------------------ Oracle to DB2 Conversion Guide: Learn learn about native support for PL/SQL, new data types, scalar functions, improved concurrency, built-in packages, OCI, SQL*Plus, data movement tools, best practices and more. http://p.sf.net/sfu/oracle-sfdev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user