LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run Time Menu - panel close event

Solved!
Go to solution

Hi All,

 

I have a quick question about the behaviour of run time menus:

 

I have a event structure setup to detect the Panel Close? event to handle some shutdown code before my App exits. I am wondering which of the run time menu selections triggers a Panel Close? event. I know that clicking the red "x" will trigger it, but I also want to include a "File -> Exit" option.

 

What is the difference between the Close and Exit items in the run time menu? Do they both trigger Panel Close? events?

 

Thanks!

0 Kudos
Message 1 of 2
(2,618 Views)
Solution
Accepted by topic author sirwin

File-> Exit is a labview instance exit, it says "it will abort running vi-s". It does not matter, in which VI you select this item. Very similar to red abort circle. Does not trigger Panel close event.

File-> close, Ctrl+W, Alt+F4, red cross - close current window, all trigger "Panel close?" event

Message 2 of 2
(2,593 Views)