1. René Ullrich
  2. PowerBuilder
  3. Thursday, 14 May 2020 07:42 AM UTC

Is there a way to have custom colors for Ribbonbar control?

I know there is a way to use Themes. But currently I don't want to use Themes.

 

Accepted Answer
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Thursday, 14 May 2020 15:39 PM UTC
  2. PowerBuilder
  3. # Permalink

All the properties, events, and functions of RibbonBar are listed here: https://docs.appeon.com/appeon_online_help/pb2019r2/objects_and_controls/ch02s90.html

I don't see a way you can do custom colors and not use UI themes.  It is my understanding that RibbonBar was designed to work with UI themes. 

Comment
  1. René Ullrich
  2. Friday, 15 May 2020 05:00 AM UTC
Hi Armeen,

Thank you for your answer. This is what I already thought.

I can't understand why this new control does not support to specify colors like all other Powerbuilder controls.

So I will try to define a custom Theme that only affect ribbonbar but not the other parts.

René
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Friday, 15 May 2020 05:14 AM UTC
Creative idea! Good luck with your project.
  1. Helpful
There are no comments made yet.
Mark Cabanlit Accepted Answer Pending Moderation
  1. Tuesday, 23 February 2021 09:27 AM UTC
  2. PowerBuilder
  3. # 1

In the json file of the theme, you can try setting Drawing to false on all other controls except the ribbon and change the colors in the ribbon in there too.

Comment
  1. René Ullrich
  2. Tuesday, 23 February 2021 10:03 AM UTC
Yes, this is the way I solved it.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.