TsEdit

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36523
    BionicWave
    Participant

    I have some TsEdit-Controls on a form that need to change the background-color everytime the form is shown.

    I have set SkinData.CustomColor to true

    Before showing the form i run through all components.

    One TsEdit-Component gets to be highlighted by setting SkinData.ColorTone = clYellow

    All other TsEdit-Components are set to SkinData.ColorTone = clNone

    When the form shows, nothing is changing. All the components are with normal background.

    If i set SkinData.Colortone = clYellow in Delphi IDE and start the program, THEN the TsEdit is yellow.

    Otherwise no luck whatsoever.

    How do i change the color in runtime???

    #53428
    Dima1024
    Participant

    Maybe you should manually repaint that 'One TsEdit-Component' in runtime?

    #53433
    Support
    Keymaster

    Hello!

    Try the standard “Color” property in combination with SkinData.CustomColor.

    ColorTone should be used for other purposes.

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