var FListItem:TListItem; //定义一个TlistItem实例 begin .. FListItem:=ListViewYOURNAME.Item.Add; FlistItem.Caption:=the first column you want to add in your listview component. FlistItem.SubItems.Add(the second column.....); .... end;
with listview.items.add do begin caption:='ddddd'; subitems.add('1'); subitems.add('2'); end;谁来回答我的问题?
FListItem:TListItem; //定义一个TlistItem实例
begin
..
FListItem:=ListViewYOURNAME.Item.Add;
FlistItem.Caption:=the first column you want to add in your listview component.
FlistItem.SubItems.Add(the second column.....);
....
end;
do
begin
caption:='ddddd';
subitems.add('1');
subitems.add('2');
end;谁来回答我的问题?