Re: [Gambas-user] List of Open Forms?

2013-08-28 Thread Jack
Le 27/08/2013 17:51, Ru Vuott a écrit : I tried this simple code: Private w As Window Public Sub Form_Open() With w = New Window .W = 100 .H = 100 .X = 0 .Y = 0 .Show End With With w = New Window .W = 100 .H = 100 .X = 200

Re: [Gambas-user] List of Open Forms?

2013-08-28 Thread Tobias Boege
On Tue, 27 Aug 2013, Kende Kriszti??n wrote: I edited the docs accordingly. Did I get all your points? Regards, Tobi Oh, thanks. But the main window is the first created window is not true. Because if Print Application.MainWindow then see nothing, and if closing the first created

[Gambas-user] List of Open Forms?

2013-08-27 Thread Alexie
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

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Kende Krisztián
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

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Alexie
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 n...@freemail.hu Hi All, Gambas allows me to open multiple forms within the same application, this works great. Only when i try to quit the application,

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Fabien Bodard
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 uale...@gmail.com 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

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Kende Krisztián
You can define the main windows Application.main= me Unknown symbol 'main' in class 'Application' -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Ru Vuott
Application.MainWindow = Me so, it works. Mar 27/8/13, Kende Krisztián n...@freemail.hu ha scritto: Oggetto: Re: [Gambas-user] List of Open Forms? A: gambas-user@lists.sourceforge.net Data: Martedì 27 agosto 2013, 12:24 You can define

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Kende Krisztián
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

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Ru Vuott
Mar 27/8/13, Kende Krisztián n...@freemail.hu ha scritto: Oggetto: Re: [Gambas-user] List of Open Forms? A: gambas-user@lists.sourceforge.net Data: Martedì 27 agosto 2013, 15:28 Application.MainWindow = Me so, it works. Yeah, but it is not clear

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Tobias Boege
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.

Re: [Gambas-user] List of Open Forms?

2013-08-27 Thread Kende Krisztián
I edited the docs accordingly. Did I get all your points? Regards, Tobi Oh, thanks. But the main window is the first created window is not true. Because if Print Application.MainWindow then see nothing, and if closing the first created window then secondary is not closed.