FMX.Forms.TCommonCustomForm.MouseDown

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Single); virtual;

C++

virtual void __fastcall MouseDown(System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, float X, float Y);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Forms.pas
FMX.Forms.hpp
FMX.Forms TCommonCustomForm

Description

Executes each time you press a mouse button.

MouseDown has the following parameters:

  • Button specifies the mouse button that has been pressed.
  • Shift determines the state of the CTRL, ALT, and SHIFT keys at the moment you press the mouse button.
  • X specifies the horizontal position of the mouse.
  • Y specifies the vertical position of the mouse.

See Also