FMX.Types.TMouseMoveEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TMouseMoveEvent = procedure(Sender: TObject; Shift: TShiftState; X, Y: Single) of object;

C++

typedef void __fastcall (__closure *TMouseMoveEvent)(System::TObject* Sender, System::Classes::TShiftState Shift, float X, float Y);

Properties

Type Visibility Source Unit Parent
type
typedef
public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

Procedural type that is used for all OnMouseMove event types.

A TMouseMoveEvent event handler must be called with the following parameters:

  • Sender--a pointer to the object that called this function.
  • Shift--indicates which shift keys--SHIFT, CTRL, ALT, and CMD (only for Mac)--were down when the user pressed the mouse button.
  • X and Y--the pixel coordinates of the mouse pointer within the client area of the control.

See Also