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

Name Description
Source

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

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

MenuRef

Reference to the LabVIEW menu from which an item was selected.

ItemTag

Name of the menu item the user selected, such as APP_SHOW_HELP.

ItemPath

Path of the LabVIEW menu item the user selected, such as APP_HELP:SHOW_APP_HELP. Components are separated by colons.