FMX.Forms.TCommonCustomForm.MouseWheel
Delphi
procedure MouseWheel(Shift: TShiftState; WheelDelta: Integer; var Handled: Boolean); virtual;
C++
virtual void __fastcall MouseWheel(System::Classes::TShiftState Shift, int WheelDelta, bool &Handled);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | TCommonCustomForm |
Description
Executes each time you roll the mouse wheel.
MouseWheel has the following parameters:
Shiftdetermines the state of the CTRL, ALT, and SHIFT keys at the moment you released the mouse button.WheelDeltaindicates the distance the wheel was rotated.WheelDeltais positive if the mouse was rotated upward, and negative if the mouse was rotated downward.Handledspecifies whether this form handles the mouse wheel, or other child controls do this.