Event for VI.
Generated when the user right-clicks the front panel to display the shortcut menu.
| Name | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Source | Source of the 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 | Reference to the LabVIEW menu from which an item was selected. | ||||||||||
| Coords | Coordinates of the mouse at the location of the mouse click at the time of the event. Coordinates are relative to the pane's origin. | ||||||||||
| 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 blank space on the front panel. You can check that SubObj returned NotARef. |