Sub OnMouseWheel(Sender: Object; Args: IMouseWheelEventArgs);
Begin
//set of operators;
End Sub OnMouseWheel;
Sender. Parameter that returns the component that has generated the event.
Args. Parameter that enables the user to determine event parameters.
The OnMouseWheel event occurs on scrolling the mouse, if the component is focused.
The events connected with mouse cursor occur in the following order:
OnMouseHover / OnMouseDown / OnMouseWheel
NOTE. In Windows 10 the OnMouseWheel event occurs on scrolling the mouse in the component area and does not depend on the focus in the component.
See also: