LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

modal dialogue

ARG!

I hate modal dialogue boxes. So often I am working on an application, I make a change to a modal dialogue interface, forget to save it and then run the main VI to test the changes.

Of course then the modal dialogue comes popping up in the middle of the screen and as it is not active you cannot use any of the buttons to close it, but you cannot interact with the main VI either, and I have not figured out a way to close it down (other than killing the LabVIEW.exe process, which hoses all the changes I have just made).

I suppose I could probably code a small VI which lists the open windows and allows them to be programatically closed using VI server, and then compile this into an exe which I could run. Anyone done something like this, or am I missing something totally obvious?

0 Kudos
Message 1 of 5
(4,090 Views)
I set the window behavior of the VIs to modal only when building the application (Source File Settings in the builder). All the VIs are configured to the default window behavior and have visible title bar, toolbar, abort and run buttons... in the development environement. Among other advantages, this technique avoids these undesirable modal windows!
Message 2 of 5
(4,086 Views)


nrp wrote:

Anyone done something like this...?

Yes.

___________________
Try to take over the world!
Message 3 of 5
(4,073 Views)
Thanks for the suggestions.

I suppose when I get a free moment I should write my own task manager. Of course I wont have any free time until LabVIEW 10 comes out Smiley Very Happy
0 Kudos
Message 4 of 5
(4,058 Views)
0 Kudos
Message 5 of 5
(3,907 Views)