FMX.ExtCtrls.TImageViewer.MouseWheel

From RAD Studio API Documentation
Jump to: navigation, search

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.ExtCtrls.pas
FMX.ExtCtrls.hpp
FMX.ExtCtrls TImageViewer

Description

Internally executed while the mouse wheel is used over the surface of the TImageViewer control.

MouseWheel inherits from FMX.Layouts.TCustomScrollBox.MouseWheel. Additionally, if the MouseScaling property is True, then the mouse wheel rotation modifies the Bitmapscale property. Therefore, rotating the mouse wheel forward will increase the value of the Bitmapscale property, and rotating the mouse wheel backward will decrease the value of the Bitmapscale property.

See Also