LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple dialog boxes on top of main window

Solved!
Go to solution

Hi everyone,

 

I have a main window, and from a user menu multiple dialog boxes can be opened.

 

One dialog box is floating, the main window is still accessible. All is well.

However, opening the second dialog box should still enable the user to access the first dialog, but NOT the main window.

 

How? I can't switch the second dialog to modal, because that would also lock the first dialog.

Do I have to disable all controls on the main window when calling second dialog box?

 

Thx in advance

0 Kudos
Message 1 of 3
(2,768 Views)
Solution
Accepted by topic author Tesla1977

OK, sry for posting, found the answer...

 

I didn't realize that "Set Busy" sets busy cursor and stops access only for the VI that you call it in.

So my dialog boxes are now accessible and clickable while the main window shows the busy cursor.

That works great.

 

0 Kudos
Message 2 of 3
(2,755 Views)

Besides setting the cursor to busy, you can get a disabled effect by discarding the pane mouse down events (for all panes). Perhaps also the key down? and key repeat? events.

 

You will still be able to resize\move the window (just like the set busy trick), and to select menus (unlike set busy).

Message 3 of 3
(2,740 Views)