PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 2024 → First window
First window
Iniciado por Bert, mai., 05 2005 5:12 PM - 3 respostas
Publicado em maio, 05 2005 - 5:12 PM
I have a project that has a menu window as the first window.
The shortcut to the project opens this window.
There is a single window that I would like to use as the first window.
Is there a way to create a desktop shortcut on the client machine that will open the project and use a different window as the first window?
Bert
Publicado em maio, 05 2005 - 6:00 PM
I have a project that has a menu window as the first window.
The shortcut to the project opens this window.
There is a single window that I would like to use as the first window.
Is there a way to create a desktop shortcut on the client machine that will open the project and use a different window as the first window?
Bert

two ways:
1) in the project init code:
if conditionxx = true
open(firstwindow)
end
after exit of this window the menu is opened
2) or same code in the menu init section, then you have the menu open and the first window over the menu
heinz
Publicado em maio, 06 2005 - 6:10 AM
Thanks Heinz,
Very simple but I didn't see it for looking to hard.
How do I pass the condition from the client's desktop shortcut?
Bert

I have a project that has a menu window as the first window.
The shortcut to the project opens this window.
There is a single window that I would like to use as the first window.
Is there a way to create a desktop shortcut on the client machine that will open the project and use a different window as the first window?
Bert
two ways:

1) in the project init code:
if conditionxx = true
open(firstwindow)
end
after exit of this window the menu is opened
2) or same code in the menu init section, then you have the menu open and the first window over the menu
heinz
Publicado em maio, 06 2005 - 9:05 AM
Bert,
You can always set up a record of the first window for each user or console and then use an IF or SWITCH to choose that window on startup or from your menu Init.
I use the win.ini to hold the data, but it could be anywhere on a console or in the database.
Gill
I have a project that has a menu window as the first window.
The shortcut to the project opens this window.
There is a single window that I would like to use as the first window.
Is there a way to create a desktop shortcut on the client machine that will open the project and use a different window as the first window?
Bert