1. Rory Sawtelle
  2. PowerBuilder
  3. Monday, 15 May 2023 11:49 AM UTC

Hi!,

I have implemented themed UI functionality in a development version of our application which I am migrating to PowerBuilder 2022. For testing, I have deployed a copy of one of the default themes as the application's default which is loaded at startup from an ini file.  This works very well.

What I could really use right now is a UI theme management utility that would read the current theme.json file and, along with a color picker present a treeview of the related theme color elements allowing for the quick selection, application, and testing of theme variations. 

Has anyone else encountered and handled this situation? Are there third-party tools available for the management of native PowerBuilder UI theme customization? Am I missing something obvious here?

Thank you!

 

Accepted Answer
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Saturday, 20 May 2023 15:22 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi, UI Themes doesn’t provide this out of the box so you would need to implement yourself.  I am not aware of any third party products that does this for the UI Themes.

Comment
There are no comments made yet.
Tobias Roth Accepted Answer Pending Moderation
  1. Monday, 22 May 2023 16:03 PM UTC
  2. PowerBuilder
  3. # 1

Hi Rory,

a simple solution would be to use VSCode with a suitable colorpicker extension to edit the theme.json.

On the fly I found this: https://marketplace.visualstudio.com/items?itemName=naumovs.color-highlight  there are probably better extensions, this one just visualizes the color in json files without colorpicker.

VSCode's code colapsing helps navigate the JSON quite well:

Regards Tobi

 

 
Comment
There are no comments made yet.
Rory Sawtelle Accepted Answer Pending Moderation
  1. Monday, 22 May 2023 13:50 PM UTC
  2. PowerBuilder
  3. # 2

that is what I thought. Thank you for the clarification. 

Comment
  1. Armeen Mazda @Appeon
  2. Monday, 22 May 2023 14:12 PM UTC
You're very welcome!
  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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.