1. Aart Onkenhout
  2. PowerBuilder
  3. Friday, 7 August 2020 06:41 AM UTC

Hi,

In our appliication we have an ancestor window (which itself has two ancestors above) with 45 descendants. To apply a theme to a control (in this particular case a datawindow) on the ancestor we have to add all 45 descendants to our custom theme-xxx.json file to make the theme work for all descendants. Is this really the only way to accomplish this or is there a work-around for this? For example something like

"descendant1.dw_1;descendant2.dw_1;descendant3.dw_1":

{

}

(the example code doesn't work, but could make things a lot easier as you have to change colors on one place only).

Regards,

Aart Onkenhout

mike S Accepted Answer Pending Moderation
  1. Friday, 7 August 2020 14:11 PM UTC
  2. PowerBuilder
  3. # 1

themes should be changed to work properly with inherited objects.  if you apply a theme exception to an object, then it should apply to all descendants unless they have an exception set.  just like how it works if you change any other property 

Comment
  1. Chris Pollach @Appeon
  2. Friday, 7 August 2020 14:51 PM UTC
Hi Mike;

Please submit a Support Ticket as an enhancement request for this feature.

(Great suggestion BTW)

Regards ... Chris
  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.