FMX.Controls3D.TControl3D.MouseWheel

From RAD Studio API Documentation
Jump to: navigation, search

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
protected
FMX.Controls3D.pas
FMX.Controls3D.hpp
FMX.Controls3D TControl3D

Description

Processes mouse wheel motion.

MouseWheel is called automatically when the user rotates the mouse wheel.

The Shift parameter indicates the current state of the SHIFT, ALT, and CTRL keys.

The WheelDelta parameter indicates the distance the wheel was rotated. WheelDelta is positive if the mouse was rotated upward, negative if the mouse was rotated downward.

The MousePos parameter indicates the current position of the mouse pointer.

MouseWheel returns True if an event handler was found and indicated that it handled the event.

See Also