FMX.Calendar.Style.TStyledCalendar.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.Calendar.Style.pas FMX.Calendar.Style.hpp |
FMX.Calendar.Style | TStyledCalendar |
Description
OnMouseWheel event dispatcher.
MouseWheel calls the inherited method FMX.Controls.TControl.MouseWheel.
In addition, MouseWheel increases the month of the TCalendar current date by one if the wheel button is rotated upwards or decreases the month of the TCalendar current date by one if the wheel button is rotated downwards.