Search code examples
listviewdelphiheaderfiremonkeydelphi-10.1-berlin

How can I change the background color of a header from a TListView?


I need change the background color of all header of my listView for them to be highlighted. I found nothing on Object Inspector and nothing on Style Designer, can you guys give me some direction?

enter image description here


Solution

  • Try this one, it worked for me. You can delete the Rectangle component.

    • right click the LV
    • edit custom style
    • select header
    • click on SourceLink property (...)
    • there you can either chose one of the existing colors, or create your own
    • close the BitmapLinks Editor
    • Close and save the Style Designer Should work

    enter image description here