|LabVIEW 2014 Help|
|LabVIEW 2015 Help|
|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
Requires: Base Development System
Class: VI Events
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.
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.
|Source||Source of the event. LabVIEW UI refers to any built-in user interface event.
|Type||Type of event that occurred, such as Mouse Down, Value Change, Timeout, and so on.|
|Time||Value of the millisecond timer when the event occurred.|
|VIRef||Reference 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.|