FMX.ListView.TAppearanceListView.DoButtonClick
Delphi
procedure DoButtonClick(const Sender: TObject; const AItem: TListItem; const AObject: TListItemSimpleControl); virtual;
C++
virtual void __fastcall DoButtonClick(System::TObject* const Sender, Fmx::Listview::Types::TListItem* const AItem, Fmx::Listview::Types::TListItemSimpleControl* const AObject);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.ListView.pas FMX.ListView.hpp |
FMX.ListView | TAppearanceListView |
Description
Dispatches the OnButtonClick event.
DoButtonClick receives the following parameters:
Sender
is the instance of item appearance objects of the list view that calls DoButtonClick.AItem
is the list view item that contains the button that is clicked.AObject
is the button that is clicked.
DoButtonClick passes the received AItem
and AObject
to the event handler of OnButtonClick, but it passes itself as the value of the Sender
parameter instead of passing the received Sender
.