Generated when you scroll the mouse wheel over a control.

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.

CtlRef

Reference to the control on which the event occurred.

Coords

Coordinates of the mouse at the time of the event. Coordinates are relative to the origin of the pane.

Delta

The distance the mouse wheel moved. (Windows) A positive value indicates a forward rotation of the wheel away from you. A negative value indicates a backward rotation of the wheel towards you. (macOS) Navigate to the system settings of the computer to specify how the operating system interprets the direction of the mouse wheel scroll. macOS 10.7 and later inverts the scroll direction of the mouse by default.

Orientation

Value that corresponds to the orientation of the scroll bar and indicates whether the user initiated this event on a horizontal or vertical scroll bar.

ButtonMods

Cluster of Booleans that corresponds to the mouse button(s) the user pressed and held during the mouse wheel movement. The Booleans indicate whether the user pressed the left, right, or middle button(s).

Mods

Cluster of Booleans that contain platform-independent modifiers. LabVIEW returns all platform-dependent modifiers in the PlatMods event data field. 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> on Windows or <Command> on macOS, was pressed when the event occurred. For filter events, you can modify the data returned by this event data field.

PlatMods

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. For filter events, you can modify the data returned by this event data field. A key can be both a Mod and PlatMod. For example, <Ctrl> is the platform-independent menu key on Windows, but you also can use it in platform-dependent programming.