FMX.ListView.Types.TListItemSimpleControl.MouseDown
Delphi
function MouseDown(const Button: TMouseButton; const Shift: TShiftState; const MousePos: TPointF): Boolean;
C++
virtual bool __fastcall MouseDown(const System::Uitypes::TMouseButton Button, const System::Classes::TShiftState Shift, const System::Types::TPointF &MousePos);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | FMX.ListView.Types.pas FMX.ListView.Types.hpp |
FMX.ListView.Types | TListItemSimpleControl |
Description
Returns the state of the mouse in the control area after clicking a list view item. {{#multireplace:FMX.ListView.Types.TListItemSimpleControl.MouseDown|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.ListView.Types.TListItemDrawable.MouseDown|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.ListView.Types.TListItemDrawable.MouseDown|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Returns the state of the mouse in the control area after clicking a list view item.
The MouseDown virtual method is to be implemented in child classes. MouseDown indicates if the mouse clicks in a list view item.