Shortcut Menu Selection (User)
- Updated2026-02-04
- 1 minute(s) read
Generated when the user selects a user-defined item from the shortcut menu. Use the Shortcut Menu Selection (App) event to generate an event when the user selects an application item from the shortcut menu.
Event Data Fields
| Name | Description | ||
|---|---|---|---|
| Source | Source of the event. LabVIEW UI refers to any built-in user interface event.
|
||
| 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. |
||
| CtlRef | Reference to the control on which the event occurred. |
||
| MenuRef | |||
| ItemTag | Name of the user-defined shortcut menu item the user selected, such as USER_MY_HELP. |
||
| ItemPath | Path of the user-defined shortcut menu item that the user selected, such as APP_HELP:USER_MY_HELP. |
||
| Coords | |||
| SubObj | Reference to the object on which the event occurred. For example, if the user right-clicks a cluster that contains several controls, the SubObj might be a control within the cluster, even if the cluster added the shortcut menu item. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Dialog and User Interface\Menu\Customizing Shortcut Menus\Customizing Shortcut Menus.vi