Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-07

Examples of TListView.OnCustomDrawItem

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Fabio Luis Girardi

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.

Somebody did something like this?

Regards,

Fabio

Reply by email

Hans-Peter Diettrich
to Fabio Luis Girardi
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

Reply by email