user2846400
user2846400

Reputation:

Listview Click Event (Delphi)

enter image description here

It might be a simple question but i don't know; how to add listview item click event ?

Upvotes: 2

Views: 3826

Answers (1)

LU RD
LU RD

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

Related Questions