Something like
for i := 0 to Listview1.Items.Count - 1 do
begin
Listview1.Items.Item[i].Caption := 'bla';
Listview1.Items.Item[i].SubItems.Strings[0] := 'bla2';
Listview1.Items.Item[i].SubItems.Strings[1] := 'bla3';
end;
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Chrissy R
Sent: Sunday, April 29, 2001 6:23 PM
To: Multiple recipients of list delphi
Subject: Re: [DUG]: TTreeView Update
Oops - I mean a TListView.
Chrissy.
> How do I update the items and sub items in a TTreeView?
>
> Thanks,
>
> Chrissy.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"