delphi中listview控件颜色问题

2025-02-17 12:26:00
推荐回答(1个)
回答(1):

if Item.SubItems.Strings[0] = 'bbbbb' then
Sender.Canvas.Brush.Color:= clRed;
Sender.Canvas.FillRect(Item.DisplayRect(drIcon));