Menu Selection (App) Event

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

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

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

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.


Not Helpful