On vr, 2012-04-20 at 17:07 +0200, tobi wrote: > > > 2012/4/20, abbat <abbat...@mail.ru>: > > >> > > >> It does not CLOSE. > > >> Just try F5 > > >> > > >> If True then > > >> Exec ["ls"] > > >> Me.Close > > >> EndIf > > >> > > >> DOES NOT CLOSE (you have to push "stop" button), AND: > > >> > > >> If True then > > >> 'Exec ["ls"] > > >> Me.Close > > >> EndIf > > >> > > >> WORKS > > >> What version of Gambas are you on? 3.1 Because I had likewise problems with TRY Exec not closing correctly and they are fixed a revision, post 3.1. Fix will be in upcoming 3.1.1 release.
Your problem might be caused by the same bug if your are on Gambas 3.1. I did not have this problem in Gambas 3.0 though. > > One remark: According to http://www.gambasdoc.org/help/lang/quit you are > strongly advised to not > call Quit in a GUI application. I used quit as a work around as well for now until 3.1.1 gets released. Willy ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user