SkinSection not applied in runtime TsPanel

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #44870
    Support
    Keymaster

      Hello

      The problem in sPanel occurs because support of panel bevels was added. SkinSection is changed automatically after changing of the BevelOuter property.

      So, you can write “pnl.BevelOuter := bvNone” and remove “pnl.SkinData.SkinSection := 'CHECKBOX'”

      Also you can write “pnl.SkinData.SkinSection := 'MENUITEM'”, panel will be transparent in this case too.

      I will test buttons created in run-time, now.

      #44871
      Support
      Keymaster

        I have made test for buttons, but haven't an error.

        Maybe you must show me your component… Can you use TeamViewer tool for sharing of your PC?

        #44954
        sriver
        Participant
          'Support' wrote:

          Hello

          The problem in sPanel occurs because support of panel bevels was added. SkinSection is changed automatically after changing of the BevelOuter property.

          So, you can write “pnl.BevelOuter := bvNone” and remove “pnl.SkinData.SkinSection := 'CHECKBOX'”

          Also you can write “pnl.SkinData.SkinSection := 'MENUITEM'”, panel will be transparent in this case too.

          I will test buttons created in run-time, now.

          Thanks! I can confirm that this fixed the problem 🙂

          #44955
          sriver
          Participant
            'Support' wrote:

            I have made test for buttons, but haven't an error.

            Maybe you must show me your component… Can you use TeamViewer tool for sharing of your PC?

            I've just retested and I no longer have the problem either?! I must have hit the error before I had finished coding the components and just assumed that is was related to the earlier issue. Sorry for raising a non-issue.

            Cheers,

            m

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