I have a LISTVIEW component, multiple records are inserted into it. I need to generate Auto Increment code in the Caption of this listview according to the number of records entered. I've tried something like this:
l := l + 1;
Item.Caption := Inc(l,1);
He does not accept, of error. Any suggestions?