Get clicked element in acListView

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #55306
    KSS
    Participant

    Hello!

    You should use a SelectedItem method in this case.

    Code:
    procedure TFormSamosChat.KssListViewLoginClick(Sender: TObject);
    begin
    if Assigned(KssListViewLogin.SelectedItem) then
    ShowMessage(KssListViewLogin.SelectedItem.SubItems[0]);
    end;
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.