Requires: Base Development System
Class: Control Events
Type: Notify
Generated when the user selects an application item from the shortcut menu of a control. Use the Shortcut Menu Selection (User) event to generate an event when the user selects a user-defined menu item. This event is posted after the built-in shortcut menu item is processed by LabVIEW.
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. | ||
Time | Value of the millisecond timer when the event occurred. | ||
ItemTag | Name of the LabVIEW shortcut menu item the user selected, such as APP_SC_COPY_DATA. | ||
ItemPath | Path of the LabVIEW shortcut menu item that the user selected, such as APP_SC_VISIBLE_ITEMS:APP_SC_SCALE_LEGEND. | ||
CtrlRef | Reference to the control on which the event occurred. | ||
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. |
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 Selection (App) event.