Ribbon control

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #49509
    Support
    Keymaster

      Hello!

      TsSkinProvider component is compatible with DevEx Ribbon if TsSkinProvider.DrawNonClientArea property = False.

      (This property specially was added for compatibility with Ribbon controls).

      #49511
      Allen
      Participant
        'Support' wrote:

        Hello!

        TsSkinProvider component is compatible with DevEx Ribbon if TsSkinProvider.DrawNonClientArea property = False.

        (This property specially was added for compatibility with Ribbon controls).

        I am trying this with AlphaControls Lite. I am not having any luck?

        #49513
        Support
        Keymaster

          With disabled DrawNonClientAreaproperty you should receive a skinned client area and non-client area which is handled by Ribbon control.

          What result do you have? Can you show a screenshot?

          #49516
          Allen
          Participant
            'Support' wrote:

            With disabled DrawNonClientAreaproperty you should receive a skinned client area and non-client area which is handled by Ribbon control.

            What result do you have? Can you show a screenshot?

            I'm not sure if you want my design screenshot or running application screenshot. What do you mean by I should receive a skinned client area and non-client area? How does it get received?

            I'm send both screenshots. I hope it's what you want.

            #49517
            Allen
            Participant
              'Support' wrote:

              With disabled DrawNonClientAreaproperty you should receive a skinned client area and non-client area which is handled by Ribbon control.

              What result do you have? Can you show a screenshot?

              Ooops… I probably should haven't sent you the properties

              #49518
              Support
              Keymaster

                Borders and title of form (non-client area) are not drawn by DevEx Ribbon in your case, so, you can use SkinProvider with enabled DrawNonClientArea property.

                And you should not have a problems with skinning of such form.

                #49519
                Allen
                Participant
                  'Support' wrote:

                  Borders and title of form (non-client area) are not drawn by DevEx Ribbon in your case, so, you can use SkinProvider with enabled DrawNonClientArea property.

                  And you should not have a problems with skinning of such form.

                  The form skins fine. But I am wanting to know whether or not the TdxRibbon from DevEx will skin? It doesn't. It is keep the same colors. I am wanting compatibility with the third party DevEx if at all possible. I understand this is suppose to work.

                  #49520
                  Allen
                  Participant
                    'Support' wrote:

                    Borders and title of form (non-client area) are not drawn by DevEx Ribbon in your case, so, you can use SkinProvider with enabled DrawNonClientArea property.

                    And you should not have a problems with skinning of such form.

                    Here is my example project. Sure I am just not understanding how it works yet :wacko:

                    #49521
                    Support
                    Keymaster

                      I understand your question now, sorry for this misunderstanding.

                      Ribbon control can't be skinned by AlphaSkins, unfortunately.

                      #49522
                      Allen
                      Participant
                        'Support' wrote:

                        I understand your question now, sorry for this misunderstanding.

                        Ribbon control can't be skinned by AlphaSkins, unfortunately.

                        That's a bummer. Do you know what the bottleneck is? I've got the source code to it and I was wondering if maybe it couldn't be modified.

                        #49535
                        Hamilton
                        Participant

                          From what I can tell, the Delphi TRibbon is based on the Windows ribbon API – which doesn't expose any color properties because the control is drawn with bitmaps rather than rendered with colors/patterns. Taking a quick look at TRibbon you can see that the style can be set but there are no Color properties. If you look at the DevExpress ribbon and it *does* have colors then you're in luck and you'll be able to at least semi-skin your control using one of the methods discussed in this thread [topic='6544']here[/topic].

                          Regards,

                          Hamilton

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