1. Suvendu Dey
  2. PowerBuilder
  3. Thursday, 22 July 2021 10:53 AM UTC

Not able to change text color of sle,mle static text and edit mask runtime after applying theme. I am using powerbuilder 2019 R2 2353 and default theme(eg. Flat Design Dark ,Flat Design Blue ,Flat Design Grey ,Flat Design Silver) provided by Appeon.

Miguel Leeuwe Accepted Answer Pending Moderation
  1. Thursday, 22 July 2021 15:41 PM UTC
  2. PowerBuilder
  3. # 1

I'm not sure, but you might have to upgrade to R3 build 2703 (the MR release for R3).

Also (not sure), you might have to use a theme-exclusions.json or theme-exclusions.xml file to enable what you want to do.

https://docs.appeon.com/pb2019r3/pbug/ch02s01.html#Understanding_what_can_and_cannot_be_set_by_the_theme

regards

Comment
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Thursday, 22 July 2021 16:25 PM UTC
  2. PowerBuilder
  3. # 2
Comment
There are no comments made yet.
Ken Guo @Appeon Accepted Answer Pending Moderation
  1. Friday, 23 July 2021 04:56 AM UTC
  2. PowerBuilder
  3. # 3

Hi  Suvendu,

After you Apply the Theme, the text color of all controls will be changed to the color set in Theme.json, so you cannot change them in the script anymore (except for dw).

If you want to specify a certain control to not use Theme or you want to customize the color for it, you can use the Custom Theme feature. Please see the link below for details:

https://docs.appeon.com/pb2019r3/pbug/ch02s01.html#Configuring_theme_settings_for_individual_controls

 

Regards,

Ken

Comment
  1. Suvendu Dey
  2. Thursday, 3 August 2023 11:30 AM UTC
Can this cause any performance issue to load the screens? We have many window which needs to be configured individually.
  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.