FMX.Layouts.TCustomScrollBox.MouseDown
Delphi
procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override;
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 |
protected | FMX.Layouts.pas FMX.Layouts.hpp |
FMX.Layouts | TCustomScrollBox |
Description
Internally executed while a mouse button is pressed over the surface of this scroll box.
You can call MouseDown programmatically in applications to simulate a mouse button down event over this scroll box.
The Button
parameter specifies the mouse button that has just been pressed (for instance, TMouseButton.mbLeft
).
The Shift
parameter specifies the keyboard state (for instance the CTRL
key pressed at the same time with the mouse click).
The X
and Y
parameters specify the position of the mouse cursor on the screen.