-
Christopher Craft
- PowerBuilder
- Thursday, 11 September 2025 10:18 PM UTC
I am in the process of trying to make our application look consistent across multiple Themes. I have 'Form' DW's that use the Button Face color and others that use the Windows Background color. When running a Theme the DataWindows color in the JSON is set to only one of them so I need a way to figure out the other so my screens look consistent. For instance - if running the Grey theme then the DataWindows color is the Windows Background color. In order to get the 'Button Face' color to come through I look for the current color and if it is set to Button Face I then set the DataWindow.Color to be Transparent which then allows the UserObject color to come through which is the Button Face color for the theme. This works perfectly until...the color code of 67108864 for Button Face is not the same across all DataWindows. So far I have found 79741120 and 77971394 are both considered Button Face so I am now trying to figure out another way to determine this or I just keep adding to my check numbers until I find them all.
So, does anyone know if there is a way I can determine what numbers are considered Button Face? Is there something else I can look at? Is there a way I can make sure that the color setting is the same across different developers/computers (which I assume is the issue).
Thanks,
Chris Craft
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.