Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Panel Close? Event

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Requires: Base Development System

Class: VI Events

Type: Filter

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.

Event Data Fields

NameDescription
SourceSource of the event. LabVIEW UI refers to any built-in user interface event.

0LabVIEW UI
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.

 

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