LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to remove the window control buttons from a vi? I am writing a vi for a production environment and don't want users to be able to quit the application.

If I understand the question correctly you select file menu >> vi properties. Then select window apperance on the top ring. Click customize and select which items you want to be viewable by the user.
Message 2 of 5
(2,979 Views)
I tried that, but even though I de-selected "allow user to close window", the windows minimize/maximize/close buttons are still visible and active.
Jim

LV 2020
0 Kudos
Message 3 of 5
(2,979 Views)
They won't be visible when the VI is running. To truly hide everything, you'll want to deselct Show Menu Bar, Show Toolbar when Running, Allow User to Resize Window, and Allow User to Minimize Window. Of course if you do all this and don't have a stop button on your VI, how will anyone stop the VI?
0 Kudos
Message 4 of 5
(2,979 Views)
On a production line PC, the VI should never be stopped. My hope would be that a SysAdmin could bypass loading the VI during a reboot in order to work on the machine. I have tried deselecting everything but the run button, but when ever I do this on the top-level application, it ignores me. After clicking on OK, if I re-open the customize window appearance on the top-level application dialog, all of the defaults are checked again.
Jim

LV 2020
0 Kudos
Message 5 of 5
(2,979 Views)