Menu Selection? (App) Event

Requires: Base Development System

Class: VI Events

Type: Filter

Generated when the user selects an application item from the LabVIEW menu, such as Help»Show Context Help.

Note  If you have an event structure with a Menu Selection? (App) event, items chosen from the File»Recent Projects submenu return the item tag APP_RECENT_PROJECTS and items chosen from the File»Recent Files submenu return the item tag APP_RECENT_FILES.

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.
MenuRefReference to the LabVIEW menu from which an item was selected.
ItemTagName of the menu item the user selected, such as APP_SHOW_HELP.
ItemPathPath of the LabVIEW menu item the user selected, such as APP_HELP:SHOW_APP_HELP. Components are separated by colons.
Discard?Allows you to prevent LabVIEW from processing the event, bypassing the behavior normally triggered by that event. The default is FALSE.