FMX.ListBox.TListBoxSelector.MouseSelectStart
Delphi
procedure MouseSelectStart(const Item: TListBoxItem; const Button: TMouseButton; const Shift: TShiftState); virtual;
C++
virtual void __fastcall MouseSelectStart(TListBoxItem* const Item, const System::Uitypes::TMouseButton Button, const System::Classes::TShiftState Shift);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.ListBox.pas FMX.ListBox.hpp |
FMX.ListBox | TListBoxSelector |
Description
A method that executes after you click a mouse button in the TListBox component.
The accepted parameters are:
Item
: The target item.Button
: The mouse button that you clicked.Shift
: The current shift state.
If Button
is the left mouse button and the mouse is moving, MouseSelectStart calls DelayedMouseDown, otherwise MouseSelectStart calls DoMouseSelectFinish.