Shortcut Menu Activation? Event

LabVIEW 2018 Help

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

DOWNLOAD (Windows Only)

LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Requires: Base Development System

Class: Control Events

Type: Filter

Generated when the user right-clicks a control to display the shortcut menu.


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.
TimeValue of the millisecond timer when the event occurred.
MenuRefReference to the control shortcut menu that you can modify during this event. MenuRef is valid only during this event case.
CtrlRefReference to the control on which the event occurred.
SubObjReference 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.


Refer to the Customizing Shortcut Menus VI in the labview\examples\Dialog and User Interface\Menu\Customizing Shortcut Menus directory for an example of using the Shortcut Menu Activation? event.


Not Helpful