1. Christopher Craft
  2. PowerBuilder
  3. Monday, 9 November 2020 22:36 PM UTC

PB 2019

We have font expressions in our DW's that will change the color depending upon if the column is enabled or disabled. My current setup used 'Button Face' as the disabled color and 'Window Background' as the Enabled color. When applying a Theme the DW expressions still control the color so it makes everything look horrible.

Does anyone have any suggestions on how I could support using Themes that would allow my columns color to change according to the Theme? I don't want to use a global function because in the past this caused performance issues. My only thought is a service that will modify the expression during Constructor but if anyone else has a better idea I am all ears.

Chris Craft

Accepted Answer
mike S Accepted Answer Pending Moderation
  1. Tuesday, 10 November 2020 01:20 AM UTC
  2. PowerBuilder
  3. # Permalink

themes need to be improved for data entry screens.  I had entered some enhancement requests for this.

we all want to allow our users to select themes, so having one that works with existing color settings is the same as not using themes at all.

I think your only option is to set expressions at runtime.  You would have to get the current theme and figure out a color to go with it.

 

 

Comment
  1. Christopher Craft
  2. Monday, 16 November 2020 20:02 PM UTC
Did you log into the Appeon site? Everything comes up for me.
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Monday, 16 November 2020 20:41 PM UTC
Probably Philippe did not participate in the Elevate conference so he doesn't have access.
  1. Helpful
  1. Philippe PILAT
  2. Tuesday, 17 November 2020 07:09 AM UTC
Hi Armeen, Mike,



exactly, I did not participate in Elevate.



Regards,

Philippe.
  1. Helpful
There are no comments made yet.
Philippe PILAT Accepted Answer Pending Moderation
  1. Monday, 16 November 2020 07:21 AM UTC
  2. PowerBuilder
  3. # 1

Thanks Mike, will look at it.

Best regards,

 

Philippe.

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 9 November 2020 22:56 PM UTC
  2. PowerBuilder
  3. # 2

Hi Chris;

  You have a few options as expressions always take precedence ...

1) Remove the expressions & let the Theme take full control.

2) Create a Custom Theme that compliments your expression settings.

Regards ... Chris

Comment
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.