On Tue, 27 Aug 2013, Kende Kriszti??n wrote: > > Application.MainWindow = Me > > > > > > > > so, it works. > > Yeah, but it is not clear: > > Static Property MainWindow As Window > > RETURNS the main window of the application. > > The main window is the FIRST CREATED WINDOW or form in your > application. Closing the main window implies closing all other opened > windows and quitting the application. > > > If closing the first created main window, the secondary created is not > closed. But if SET the MainWindow, then works. So first created window > is not main window, and it is possible to change the MainWindow value. >
I edited the docs accordingly. Did I get all your points? Regards, Tobi ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user