Menu Selection (App) Event

Requires: Base Development System

Class: VI Events

Type: Notify

Generated when the user selects an application item from the LabVIEW menu, such as Help»Show Context Help. Use the Menu Selection (User) event to generate an event when the user selects a user-defined menu item.

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.