Shortcut 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: Control Events

Type: Filter

Generated when the user selects an application item from the shortcut menu. This event is posted before the application item is processed by LabVIEW.

Event Data Fields

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

0LabVIEW UI
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.
ItemTagName of the LabVIEW shortcut menu item the user selected, such as APP_SC_COPY_DATA.
ItemPathPath of the LabVIEW shortcut menu item that the user selected, such as APP_SC_VISIBLE_ITEMS:APP_SC_SCALE_LEGEND.
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, even if the cluster added the shortcut menu item.
Discard?Allows you to prevent LabVIEW from processing the event, bypassing the behavior normally triggered by that event. The default is FALSE.

WAS THIS ARTICLE HELPFUL?

Not Helpful