LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make "Ctrl + q" not quiting a running application.

Solved!
Go to solution
Highlighted

Hi.

I've made several applications using LabView 2014/15, but have not been aware of the function "Qtrl + q" quiting the application.

Is there a way to stopp this from quiting an runing application?

0 Kudos
Message 1 of 5
(1,511 Views)
Highlighted
Solution
Accepted by topic author sjeggefjes

In your built application, you cand remove the menu bar.  Or you can edit menu bar as necessary.  Remove the shortcut.

 

You can edit the menu bar in the LabVIEW development environment.  Look at Tools >>  Options >> Menu Shortcuts

0 Kudos
Message 2 of 5
(1,497 Views)
Highlighted

Are you talking about in the IDE?  The shortcuts in LabVIEW can be customized by going to Tools >> Options... and then under the Menu Shortcuts you can change or remove the shortcut so it no longer requests an Exit.

 

If you are talking in an EXE, I've just tested a couple EXEs I have and this command doesn't cause it to quit.  I'm guessing it has to do with the default run-time menu, which can be removed, or customized by going to Edit >> Run-Time Menu from the source.  It can be hidden entirely by going to the VI Properties (CTRL+I) and customize the Window Appearance to not show the menu bar.

0 Kudos
Message 3 of 5
(1,495 Views)
Highlighted

Tanks for the quick reply 🙂

As an additional question: do I have to do this in every sub vi or is it enough to do it in the main vi?

0 Kudos
Message 4 of 5
(1,426 Views)
Highlighted
0 Kudos
Message 5 of 5
(1,413 Views)