Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Panel Close? Event (Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Event for VI.

Generated when the user tries to interactively close the front panel on a VI by selecting the Close item in the File menu or by clicking the close glyph on the window border. The Panel Close? event is a filter event.

LabVIEW ignores the Discard? event data field if you generate this event on a subpanel control.

Note  LabVIEW cannot generate a Panel Close event for a VI being viewed or controlled remotely. If you are viewing or controlling a VI remotely, LabVIEW can generate events only for controls, not for a VI or the entire application.

An event case configured to handle a filter event informs you when a user interaction takes place before LabVIEW processes the interaction. You then can modify if or how LabVIEW processes the interaction. If you do not want LabVIEW to inform you before it processes a user interaction, use the Panel Close notify event.

For a filter event, if you do not wire an element in the Event Filter Node that appears on the right-hand side of the event case, the default value of the element is the value output by the corresponding element in the Event Data Node on the left-hand side of the event case.

Event Data Fields

NameDescription
SourceSource of the event.
0LabVIEW UI
1ActiveX
2.NET
25User Event
nOther
TypeType of event that occurred, such as Mouse Down, Value Change, Timeout, and so on.
TimeValue of the millisecond timer when the event occurred.
VIRefReference to the VI on which this event occurred.
Discard?Allows you to prevent LabVIEW from processing the event, bypassing the behavior normally triggered by that event. The default is FALSE.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit