我在网吧啊,代码
在LISTBOX的DRAWITEM
with listbox.canvas do
begin
rect.top:=rect.top+21;
rect.bottom:=rect.buttom+21;
FillRect(Rect);
imagelist.draw(canvas,rect.left,rect.top,index);
if cacheck in state then
font.color:=clred
else
font.color:=clwindow;
textout(rect.left,rect.top,listbox.item[index]);
end;
这只是大楷的代码,可是总是出了一个难看的虚线