Reputation:
It might be a simple question but i don't know; how to add listview item click event ?
Upvotes: 2
Views: 3826
Reputation: 34929
In the fmx.TListView
there is an event, FMX.ListView.TCustomListView.OnItemClick.
Just define an event handler for this event.
The Event prototype is declared as:
TItemEvent = procedure(const Sender: TObject; const AItem: TListViewItem) of object;
Upvotes: 1