Multiple Skins in an application

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #47949
    Witcher
    Participant

    You can use TsButton component instead TButton. Just set property sButton.SkinData.SkinManager to TsSkinManager which contain and use needed skin.

    Skinning for standard VCL components (like TButton, TBitBtn etc.) is supported, but it's not native skinning (for skinning this controls default TsSkinManager used (in your case this placed on main form), so you can't make VCL Button1 with one skin and Button2 with different. For Button1 and Button2 in same time will be used skin from default TsSkinManager component).

    #47956
    ttm
    Participant

    Ok, thanks for the answer. The goal was to skin standard controls, as it's a big application and I don't want to become dependent on a class library.

    Thanks.

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