[Gambas-user] List of Open Forms?

Tobias Boege taboege at ...626...
Tue Aug 27 18:02:23 CEST 2013


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




More information about the User mailing list