11-14-2019 06:06 AM
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
Solved! Go to Solution.
11-14-2019 06:28 AM
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.
11-14-2019 06:55 AM
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).