Forms > Forms Assembly Interfaces > IControl > IControl.OnMouseWheel
OnMouseWheel(Sender: Object; Args: IMouseWheelEventArgs);
Sender. The parameter that returns the component that generated the event.
Args. The 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 wheel in the component area and does not depend on the focus in the component.
See also: