[Lazarus] Examples of TListView.OnCustomDrawItem

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Jul 14 16:27:54 CEST 2011


Fabio Luis Girardi schrieb:
> I searched on web and lazarus examples, but I don't found any example
> of how use TListView.OnCustomDrawItem to color each row using latest
> lazarus version.

It should not be different from any other CustomDraw procedures. Do a 
FillRect with the desired color, before writing or painting the content.

DoDi





More information about the Lazarus mailing list