[Gambas-user] button x

Ignatius Syofian isy21 at ...1082...
Wed Dec 21 07:03:05 CET 2005


GREAT....


I like it. many many thanks for your help...




On Wednesday 21 December 2005 12:16, Rob Kudla wrote:
> On Tue December 20 2005 22:35, Ignatius Syofian wrote:
> > If i use STOP EVENT in Form_Close method. If i click Exit
> > button i created (containts command Me.close) it not work
> > anymore.
>
> OK, here's some pseudo-code to give you an idea.
>
> public OKToClose as Boolean
>
> sub Form_Open
> 	OKToClose = False
> end
>
> sub Exitbutton_Close
> 	OKToClose = True
> 	Me.Close
> end
>
> sub Form_Close
> 	If Not OKToClose Then STOP EVENT
> end
>
> Rob
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

-- 
Regards,

Ignatius Syofian




More information about the User mailing list