可以在listview中的onCustomDrawItem事件中加入代码<br>例如:<br>procedure TMainForm.ListView1CustomDrawItem(Sender: TCustomListView;<br> Item: TListItem; State: TCustomDrawState; var DefaultDraw: Boolean);<br>begin<br> with Listview1.canvas do<br> if item.caption='aaa' then<br> begin<br> font.color:=clwhite;<br> font.style:=[fsBold];<br> end;<br>end;