You can define the main windows Application.main= me Then if you close this form it will close all others Le 27 août 2013 10:47, "Alexie" <[email protected]> a écrit :
> Thanks for the quick answer and i will try it out tonight ... I thought it > would be much more complex :-) > > > 2013/8/27 Kende Krisztián <[email protected]> > > > > Hi All, > > > > > > Gambas allows me to open multiple forms within the same application, > > > this works great. Only when i try to quit the application, all forms > > > need to be manually closed too ;-( > > > > > > Is there an option to retrieve the list of opened forms (then i can > > > call the .close option myself) or another option to easily stop the > > > application? I tried "quit", but that gives a big list of messages > > > from Gambas, which i don't want to show to the end-user. > > > > > > Regards, > > > Alex > > > > Dim cwin As Window > > > > For Each cwin In Windows > > > > cwin.Close > > > > Next > > > > > > > ------------------------------------------------------------------------------ > > Introducing Performance Central, a new site from SourceForge and > > AppDynamics. Performance Central is your source for news, insights, > > analysis and resources for efficient Application Performance Management. > > Visit us today! > > > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
