Mouse Wheel Event

Requires: Base Development System

Class: Pane Events

Type: Notify

Generated when you scroll the mouse wheel over a pane.

Event Data Fields

NameDescription
SourceSource of the event. LabVIEW UI refers to any built-in user interface event.

0LabVIEW UI
TypeType of event that occurred, such as Mouse Down, Value Change, Timeout, and so on.
TimeValue of the millisecond timer when the event occurred.
CtrlRefReference to the control on which the event occurred.
CoordsCoordinates of the mouse at the time of the event. Coordinates are relative to the origin of the pane
DeltaThe 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.
OrientationValue that corresponds to the orientation of the scroll bar and indicates whether the user initiated this event on a horizontal or vertical scroll bar.
ButtonModsCluster 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).
ModsCluster 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.
PlatModsCluster 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.