Hi, It came to my attention that closing a Main form with a simple Me.Close doesn't close any other forms that still might be open. It didn't used to be that way as far as I can remember, so it must have sneaked in somewhere along the road.
Using Quit does close Main form and any other form that might still be opened, but isn't advised for GUI and it also leaves some allocations not freed. so not the way to go. How to reproduce: Make a project that opens another form, now close the main form using Me.Close in event and see that only main form gets closed Tested on Mint 13 Maya with Gambas 3.5.4 from Gambas-team stable PPA [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.2.0-68-generic Architecture=x86 Distribution=Linux Mint 13 Maya Desktop=MATE Theme=QGtk Language=en_GB.UTF-8 Memory=2446M [Libraries] Cairo=libcairo.so.0.0.0 Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1.0 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 Tested on Lubuntu 14.04 with Gambas 3.5.90 from Gambas-team daily builds PPA (rev#6469 I believe) [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-33-generic Architecture=x86 Distribution=Ubuntu 14.04.1 LTS Desktop=LXDE Theme=QGtk Language=en_US.UTF-8 Memory=1002M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user