How to force a re-skin of a control?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37295
    ThomasJaeger
    Participant

    I'm using the latest version 12.12 with Delphi XE4. The skinning of TSynMemo is not working when I create a TSynMemo at runtime and placed inside a TLMDDockPanel.

    When I place a TSynMemo inside a TLMDDockPanel at design time, the TSynMemo gets skinned properly.

    Is there a way to force a TSynMemo to be skinned? I have attached two test images to see the behavior.

    #56863
    Support
    Keymaster

    Hello!

    If you need to add a support of standard or 2rd-party control, try to uses such code:

    Code:
    sSkinProvider1.Adapter.AddNewItem(Control: TControl; SkinSection: string);

    or

    Code:
    sSkinProvider1.Adapter.AddNewItem(Control: TControl);

    Do not forget, type of supported control should be added in the TsSkinManager.ThirdParty list.

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