Inherits from Control Events.
Generated when the user clicks the mouse button on a specific control.
The following table lists the event data fields for this event.
Event Data Field | Description |
---|---|
Time | Value of the millisecond timer when the event occurred. |
VIRef | Returns a reference to the VI on which this event occurred. |
Coords | Returns the coordinates of the mouse at the location of the mouse click at the time of the event. Coordinates are relative to the front panel origin. |
Button | Returns a value that corresponds to which mouse button the user clicked. Left mouse button is 1, right mouse button is 2. Operating systems might assign higher numbers if you have a mouse with more than two buttons. You also can modify the data returned by this event data field. |
Mods | Returns a cluster of Booleans that contain platform-independent modifiers. For key events, this event returns a Boolean indicating if the event occurred on the numeric keypad. For mouse events, this event returns a Boolean indicating if the event was a double-click. For both events, a Boolean is returned if the platform-independent menu key, such as <Ctrl> or <Option> was pressed when the event occured. You also can modify the data returned by this event data field. |
PlatMods | Returns a cluster of Booleans that contain platform-dependent modifiers. Specifies if platform-dependent keys, such as <Ctrl>, <Shift>, <Alt>, <Command>, and <Option> were held down when the event was triggered. You also can modify the data returned by this event data field. |