Jesper,
You can use the OnDrawItem event

 From the help file
Description

Write code in an OnDrawItem handler to manually draw items in the list 
view. This event occurs only if OwnerDraw is true.

Note:    List views receive several other custom draw events, including 
OnCustomDraw, OnCustomDrawItem, OnCustomDrawSubItem, 
OnAdvancedCustomDraw, OnAdvancedCustomDrawItem, and 
OnAdvancedCustomDrawSubItem. These other events, unlike OnDrawItem, 
occur regardless of the value of the OwnerDraw property. They provide 
slightly different information about the state of the item to be drawn, 
and the OnAdvancedXXX events occur at more points during the paint process.


Mick
_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to