RectControl.MouseWheel

From Xojo Documentation

Event


RectControl.MouseWheel(X as Integer,Y as Integer, DeltaX as Integer, DeltaY as Integer) As Boolean

New in 2005r1

Supported for all project types and targets.

The mouse wheel has been moved.

Notes

The parameters X and Y are the mouse coordinates relative to the control that has received the event. The parameters DeltaX and DeltaY hold the number of scroll lines the wheel has been moved horizontally and vertically, as defined by the operating system. DeltaX is positive when the user scrolls right and negative when scrolling to the left. DeltaY is positive when the user scrolls down and negative when scrolling up.

Returns a Boolean. Return True to prevent the event from propagating further.