Panel Close?
- Updated2025-07-30
- 1 minute(s) read
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.
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.
Event Data Fields
| Name | Description | ||
|---|---|---|---|
| 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. |