Controls.TControl.OnMouseWheel

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From Controls.pas

	property OnMouseWheel: TMouseWheelEvent read FOnMouseWheel write FOnMouseWheel;


Unit: Controls

Type: event

Visibility: protected

Member Of: TControl

C++ Information

From Controls.hpp

	__property TMouseWheelEvent OnMouseWheel;


Unit: Controls

Type: property

Visibility: protected

Member Of: TControl

Description

Occurs when the mouse wheel is rotated.


Write code in the OnMouseWheel event handler to respond to mouse wheel messages. If there is no OnMouseWheel event handler, or if the mouse wheel message is not handled in the OnMouseWheel event handler, then an OnMouseWheelUp or OnMouseWheelDown event occurs, depending on the direction the mouse wheel was rotated.

See Also

Personal tools
Translations
Newest Version