Sub OnMouseWheel(Sender: Object; Args: IMouseWheelEventArgs);
Begin
//set of operators;
End Sub OnMouseWheel;
Sender. Parameter that returns the component that generated the event.
Args. Parameter that allows to determine the event parameters.
The OnMouseWheel event occurs on scrolling the mouse, if the component is on focus.
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: