ListView

Thanks for your help Bruno

But sorry i d tried what you wrote but does the same thing ( only display the first 'SubItems.Add' at the second column )

if i put only one SubItems.Add, it display at second column... why ?

my first try was this :

i := 0;
while not end do
begin
   ListView.Items.Add;
   ListView.Items.SubItems.Add('abc');
   ListView.Items.SubItems.Add('def');
   Inc(i);
end;

it doesn't work too, i thougth that 'Items.Add' create one row and 'SubItems.Add' create one cell in one column but it seems not true...

The first 'SubItem.Add' is only dislpay and at the second column ( not the first ) and it seems that only one 'SubItem.Add' is display not the others ( even if i add others )


It's clear that i'm wrong but i can't find the correct way...