FMX.Forms.TCommonCustomForm.MouseDown
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:
Buttonspecifies the mouse button that has been pressed.Shiftdetermines the state of the CTRL, ALT, and SHIFT keys at the moment you press the mouse button.Xspecifies the horizontal position of the mouse.Yspecifies the vertical position of the mouse.