Hi,
I am sure I am missing something here!! I have a List View and I can Add to it with no Problem, however what I can find a way of updating the ListView.
Kind Regards, Paul Benn
**** Never Giveup, keep trying, the answer is out there!!! ****
I am sure I am missing something here!! I have a List View and I can Add to it with no Problem, however what I can find a way of updating the ListView.
Code:
Procedure TForm1.updatesubitems;
Var
ListItem: TListItem;
Begin
with ListView1 Do
iCurItem := ListView1.FindCaption(0,sPCName,true,false,true).index;
ListView1.Items.Item[iCurItem];
ListItem.SubItems.add(DateToStr(Date()) + ' ' + TimeToStr(Time()));
end;
end;
**** Never Giveup, keep trying, the answer is out there!!! ****