[Gambas-user] Form exit code when [X] clicked
bbb888
bbruen at ...2308...
Sat Oct 17 02:44:35 CEST 2009
I can get an exit code from a form shown with rtn = fm.ShowDialog() correctly
if the user uses an in-form exit such as a exit button :
PUBLIC SUB btExit_Click()
ME.Close(60)
END
But if the user clicks on the [X] in the titlebar all I get is 0 in rtn.
Is there a way to trap the exit in the form?
bruce
--
View this message in context: http://www.nabble.com/Form-exit-code-when--X--clicked-tp25919887p25919887.html
Sent from the gambas-user mailing list archive at Nabble.com.
More information about the User
mailing list