Hey Bruce, Does it work for a normal form (not a Modal one)?
Regards, Dimitris On Fri, Oct 16, 2009 at 6:44 PM, bbb888 <bbr...@paddys-hill.net> wrote: > > 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. > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user