FMX.Layouts.TCustomScrollBox.MouseWheel
Delphi
procedure MouseWheel(Shift: TShiftState; WheelDelta: Integer; var Handled: Boolean); override;
C++
virtual void __fastcall MouseWheel(System::Classes::TShiftState Shift, int WheelDelta, bool &Handled);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.Layouts.pas FMX.Layouts.hpp |
FMX.Layouts | TCustomScrollBox |
Description
Internally executed while the mouse wheel is used over the surface of this scroll box.
You can call MouseWheel programmatically in applications to simulate a mouse wheel spin event over this scroll box.
The Shift
parameter specifies the keyboard state (for instance, the CTRL
key pressed at the same time with the mouse click).
The WheelDelta
parameter specifies the position of the mouse wheel.
The Handled
parameter specifies whether the mouse wheel events are handled by this scroll box control.