Generated when the user right-clicks blank space on the front panel 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.

0LabVIEW UI
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.

PaneRef

Returns a reference to the pane on which the event occurred.

MenuRef

Reference to the pane shortcut menu that you can modify during this event. MenuRef is valid only during this event case.

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 blank space on the front panel. You can check that SubObj returned NotARef.

Discard?
Allows you to prevent LabVIEW from processing the event, bypassing the behavior normally triggered by that event. The default is FALSE.