Panel Close
- Updated2025-07-30
- 1 minute(s) read
Generated when the user tries to interactively close the front panel of a VI by selecting the Close item in the File menu or by clicking the close glyph on the window border.
If a user closes the front panel of a VI that is not being called as a subVI and does not have any open references, LabVIEW aborts the VI. To ensure a Panel Close event case executes completely, be sure the application opens a reference to the VI before a user can close the front panel.
An event case configured to handle a notify event cannot affect if or how LabVIEW processes a user interaction. If you want to modify how LabVIEW processes a user interaction, use the Panel Close? filter 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. |