- Mark Jones
- PowerBuilder
- Thursday, 17 February 2022 04:09 PM UTC
We are starting to use themes however we run into one issue that is very annoying. I am hoping there is an easy solution!
We have specified in our theme, radiobuttons and checkboxes and have not specified a background color. When we display a window containing these objects they always display the background color of the window, not their current background color. In our test case, we have an orange rectangle with a checkbox on top. When we display without themes the checkbox text background can be set to the same orange and it will show up with this color at runtime. However with themes on it always grabs the color of the window as the background of the text. I know I can put overrides in the themes file for specific windows and objects however we have many many windows that would need to be listed and the ability to have a transparent background to this object type seems to be a very basic request. I have found a setting called "background-transparent" and have tried setting that to false or true and it does not make a difference. Is there a special them transparent color for the checkbox background and would that work?
Note: I found this in the Appeon documentation but it does not appear to be true, I tried putting a picture object comprising a single color behind my checkbox instead and the color of the text box background was still set to the windows background
-
The background color for the following control is transparent: CheckBox, RadioButton, GroupBox, StaticText, and StaticHyperLink; it cannot be changed in the PowerBuilder IDE or the theme.json file. But when they are placed on top of an unsupported control (such as Picture), their background color will not be transparent and can be set in the PowerBuilder IDE
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.