How To : Change background color column dbgrid

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #36386
    mierlp
    Participant

    Hi,

    My sDBGrid contains 1 column. Now i would like to change the background color of the

    column so in this attached image is the background with the tekst: Naam/omschrijving

    I would like to change it with a color of my onwn choice. I use skin MetroUI

    I did set the color to clWhite for this column but that doesn't do the tric

    Regards Peter

    #52866
    Support
    Keymaster

    Do you wanna change a color of the column header?

    #52876
    mierlp
    Participant

    Yes…column header which now contains the tekst 'Naam / omschrijving'.

    I would like to change it in a self to choose color.

    #52900
    Support
    Keymaster

    I can suggest you just to fill this background in the OnDrawSection event. It's an easiest solution, I think.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.