So I think what I am actually asking is - how do I get the sub-items
from a list?

And again, thanks.


Chrissy.



> Thanks - got that working 'sort-of'.  What I want is to get the values in two
> of the columns (sub items) and change them to something else by adding
> a character to them - IOW the item has 'bla2' in it and I what to add 'X'.
>
> Thanks, again.
>
> Chrissy.
>
>
>
>
>
> > 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;
>
>
>
> ---------------------------------------------------------------------------
>     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"

Reply via email to