1. Thierry Del Fiore
  2. PowerBuilder
  3. Thursday, 24 February 2022 16:31 PM UTC

Hi,

we're trying PB Themes in PB2019R3.

Is there a way to disable the themes for some windows ?

I tried to complete the theme.json file, but it doesn't seem to work, the theme is applied : 

 

"w_main2":
{
"drawing":false
},
"w_main2$statictext":
{
"drawing":false
},

Second question : Is it possible to make a difference between main windows and response windows ?

 

Best Regards 

 

 

Ronnie Po Accepted Answer Pending Moderation
  1. Thursday, 24 February 2022 17:07 PM UTC
  2. PowerBuilder
  3. # 1

You'll need to place those custom settings in a separate file named "theme-[any text].json"

Regarding your second question, as far as I know, there's no way to apply a theme based on window type.

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 24 February 2022 18:25 PM UTC
To add to Ronnie's #2 answer ... you cannot target an Ancestor window class either.
  1. Helpful 1
  1. Thierry Del Fiore
  2. Friday, 25 February 2022 09:44 AM UTC
Thanks, it is working
  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.