FMX.Controls.TControl.OnMouseWheel

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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