From 09:00 PM Friday, August 7 - 10:30 AM CST Saturday, August 8, will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Mouse Wheel Event

LabVIEW 2018 Help

Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)

LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Requires: Base Development System

Class: Pane Events

Type: Notify

Generated when you scroll the mouse wheel over a pane.

Event Data Fields

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

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. (OS X) Navigate to the system settings of the computer to specify how the operating system interprets the direction of the mouse wheel scroll. OS X v10.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 Mac OS X, 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.


Not Helpful