FMX.Forms.TForm.OnMouseWheel

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnMouseWheel: TMouseWheelEvent read FOnMouseWheel write FOnMouseWheel;

C++

__property OnMouseWheel;

Properties

Type Visibility Source Unit Parent
event published
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TForm

Description

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

FMX.Forms.TForm.OnMouseWheel inherits from FMX.Forms.TCommonCustomForm.OnMouseWheel. All content below this line refers to FMX.Forms.TCommonCustomForm.OnMouseWheel.

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

OnMouseWheel also occurs when MouseWheel is called.

Note: On OS X platforms, this function can be called when the mouse wheel is moved while the mouse pointer is over the window. It is not necessary for the window to have focus.

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

See Also