- Larry Peters
- PowerBuilder
- Thursday, 14 May 2020 02:33 AM UTC
Hi,
This has to do with datawindows. I'm currently using PB17R3 but I don't believe the problem is limited to this release.
I'm attempting to dynamically control the background color of columns based on relative values within the datawindow. Sometimes it works fine but sometimes the background is black. (I never want black).
On researching this I found that background.mode plays a part. As I understand it from the PB Help, if background.mode = 0 then the column is opaque and whatever background.color is specified will be apparent; if background.mode = 1 then the column is transparent and the background.color is ignored and the visible color will be the datawindow background color(?).
However, I have found many example of code where background.mode = 2 and there is no documentation which explains this.
I have not yet resolved the black background and I'm looking for clarification on the background.mode issue.
TIA
Larry Peters
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.