Shortcut Menu Activation?
- Updated2025-03-14
- 1 minute(s) read
Generated when the user right-clicks a control to display 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 | |||
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. You might want to add menu items only if the user right-clicks certain controls within a cluster. You can check the value of SubObj. |
||
Discard? | Allows you to prevent LabVIEW from processing the event, bypassing the behavior normally triggered by that event. The default is FALSE. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Dialog and User Interface\Menu\Customizing Shortcut Menus\Customizing Shortcut Menus.vi