Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Shortcut Menu Activation? Event

LabVIEW 8.2 Help
August 2006

NI Part Number:
371361B-01

»View Product Info

Event for VI.

Generated when the user right-clicks the front panel to display the shortcut menu.

Event Data Fields

NameDescription
SourceSource of the event.

0LabVIEW UI
1ActiveX
2.NET
25User Event
nother
TypeType of event that occurred, such as Mouse Down, Value Change, Timeout, and so on.

TimeValue of the millisecond timer when the event occurred.

CtlRefReference to the control on which the event occurred.

MenuRefReference to the LabVIEW menu from which an item was selected.

CoordsCoordinates of the mouse at the location of the mouse click at the time of the event. Coordinates are relative to the pane's origin.

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


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit