- Konstantin Goldobin
- PowerBuilder
- Wednesday, 29 May 2019 07:18 AM UTC
Hello,
I was wondering if anyone knows how to use the transparentcolor property of a datawindow picture control. I think it was introduced in 11.5 but was not documented in 12.5 or even 2017. When I set it to a regular calculated RGB value in the painter and save, PB changes my value to 0. When I type it in the Edit source mode and save, PB changes it to a cryptic value that starts with $$HEX. In either case the colour I want to be transparent in my bitmap is not transparent. (I tried both options in 12.5 only.) The DWSyntax tool shows it as an integer value:
[DW Control Name].Modify("[BitMapname].TransparentColor='[an integer]'")
But RGB values are usually long. So, what kind of integer values am I supposed to use?
Best regards,
Konstantin
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.