Hi, I'm not sure whether this is a bug or it's me doing something wrong...
When I want to show two (or more) Forms from a module set as "Startup class" in its main function, whenever a "ME.close" is called within one of the forms, the other(s) one gets closed too. To me this isn't the expected behavior... Just one of them should get closed (the ME part is what made me expect it).
I attach a simple project to illustrate my point, but basically it's as follows:
1st.- Module1 ( as startup class) PUBLIC FUNCTION Main() Form1.Show FMain.Show END 2nd.- In Form1 "ME.Close" is executed 3th.- The FMain form gets closed too and the application finishes.Instead I would expect Fmain not being closed and the application left running until Fmain gets closed by its own means.
Regards, ToniP.S.: I'm testing it in an Ubuntu 8.10 64bits with Gambas version 2.17 (revision 2415)
Test.tar.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user