[Gambas-user] stop event and gtk
Michael
mdavies5 at ...169...
Sun Dec 12 00:16:33 CET 2010
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 64 bit.
Regards
Michael
On 12/12/10 00:28, Emanuele Sottocorno wrote:
> 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
>
>
> ------------------------------------------------------------------------------
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
More information about the User
mailing list