Hi,
I am trying to populate a listview with the data that is entered on the Edit box, but I am getting errors:
Form1.Listview.Insert(0);
Form1.Listview.Items.Item[0].Caption := Name{Name in the Diaolog Box)
Please help.
Hi,
I am trying to populate a listview with the data that is entered on the Edit box, but I am getting errors:
Form1.Listview.Insert(0);
Form1.Listview.Items.Item[0].Caption := Name{Name in the Diaolog Box)
Please help.
Hi
By this code you can insert some items into List view
procedure TForm1.Button2Click(Sender: TObject);
Var
ListItem:TListItem;
begin
ListItem:=ListView1.Items.Add;
ListItem.Caption:='Hello my friend';
end;
Thank you very much. It really helped.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.