VirtualTree background color

  • This topic has 4 replies, 2 voices, and was last updated 10 years ago by mol.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #36353
    mol
    Participant

    I need to change the background color for a TVirtualStringTree that is defined in the Third Party List as a 'VirtualTree' type of skin. Does anybody know where this color is defined (where in the source or in which section of the ASkinEditor for the 'iOS dark' skin)?

    EDIT:

    Serge, I know that I could simply change the type of skin, but that's not an option this time. I have to hardcode the color somewhere and I can't find where its definition is hidden.

    Thanks

    -Uwe

    #52725
    Support
    Keymaster

    Hello!

    Look this example: http://www.alphaskins.com/sfiles/demos/stdcontrols.zip

    There you can find a code how to change a color of standard control.

    I hope, it is what you are looking.

    #52727
    mol
    Participant

    Hi Serge

    Unfortunately, this solution doesn't seem to work for me. I've sent you a little demo project via e-mail.

    Thanks

    -Uwe

    #52754
    Support
    Keymaster

    Another solution provided in the attached demo.

    #52782
    mol
    Participant

    Thanks, Serge. As I told you already in my e-mail, the code works perfectly when changing the background color of a VirtualStringTree or VirtualExplorerTreeview. Unfortunately though, the background color is the only color that can be changed this way. Selection colors, font colors and so on stay the same no matter what. Unless somebody else knows a solution, I will probably just go ahead and create my own skin.

    -Uwe

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