FMX.ListView.TAppearanceListView.DoButtonChange
Delphi
procedure DoButtonChange(const Sender: TObject; const AItem: TListItem; const AObject: TListItemSimpleControl); virtual;
C++
virtual void __fastcall DoButtonChange(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 OnButtonChange event.
DoButtonChange receives the following parameters:
Sender
is the instance of item appearance objects of the list view that calls DoButtonChange.AItem
is the list view item that contains the button that changes.AObject
is the button that changes.
DoButtonChange passes the received AItem
and AObject
to the event handler of OnButtonChange, but it passes itself as the value of the Sender
parameter instead of passing the received Sender
.