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
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
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
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
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,
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
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
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
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
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
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.
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.
12 matches
Mail list logo