LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with hiding the Frontpanel

Hi,

i have a problem with hiding the frontpanel of a vi. Following i want's
to do:

When the program is started the user gets a dialog to choose an account.
If one entry was selected the main window should be opened.

At first time i included this user dialog inside the main window. But
when i run the programm the whole window is opened, but not only the
dialog. How can i hide until the user has finished selection?

Henrik
0 Kudos
Message 1 of 3
(2,399 Views)
Henrik,

I'd suggest to start simple vi server first. This server will load and open only security dialog. Then upon user approval will be loaded main vi and dialog could be optionally unloaded.
Sergey
0 Kudos
Message 2 of 3
(2,399 Views)
You have two possibilities without vi-server. first: you make a new "main" vi with a very small footprint (window), with a bigger dialog on top of it and your old main vi is started after the dialog.
The second solution is to move your original vi outside the visual screen. This is somewhat cumbersome because of the two kinds of coordinate systems that are used inside vi-property nodes (screen coordinates and vi-window coordinates)
succes
greetings from the Netherlands
0 Kudos
Message 3 of 3
(2,399 Views)