FMX.ListBox.TCustomListBox.MouseClick
Delphi
procedure MouseClick(Button: TMouseButton; Shift: TShiftState; X, Y: Single); override;
C++
virtual void __fastcall MouseClick(System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, float X, float Y);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | FMX.ListBox.pas FMX.ListBox.hpp |
FMX.ListBox | TCustomListBox |
Description
Calls Click and starts the animation by calling StartTriggerAnimation.
FMX.ListBox.TCustomListBox.MouseClick inherits from FMX.Controls.TControl.MouseClick. All content below this line refers to FMX.Controls.TControl.MouseClick. Calls Click and starts the animation by calling StartTriggerAnimation.
MouseClick receives the following parameters:
Buttondetermines which mouse button was previously pressed: left, right, or middle.Shiftindicates which shift keys -- SHIFT, CTRL, ALT, and CMD (only for Mac) -- were down when the pressed mouse button is released.XandYare the pixel coordinates of the mouse pointer within the client area of the control.