Mouse Down Event

Inherits from VI Events.

Generated when the user clicks the mouse button.

The following table lists the event data fields for this event.

Event Data FieldDescription
TimeValue of the millisecond timer when the event occurred.
VIRefReturns a reference to the VI on which this event occurred.
CoordsReturns 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.
ButtonReturns 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.
ModsReturns 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.
PlatModsReturns 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.