FMX.Controls.TControl.OnMouseWheel

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnMouseWheel: TMouseWheelEvent read FOnMouseWheel write FOnMouseWheel;

C++

__property Fmx::Types::TMouseWheelEvent OnMouseWheel = {read=FOnMouseWheel, write=FOnMouseWheel};

Properties

Type Visibility Source Unit Parent
event public
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

Occurs when the mouse wheel moves while the control has focus.

OnMouseWheel also occurs when the MouseWheel is called.

Write an event handler for OnMouseWheel to specify what happens when the mouse wheel is moved while the control has focus.

See Also