- Mark Jones
- PowerBuilder
- Tuesday, 15 August 2023 05:00 PM UTC
I believe we have hit an issue in PB2022 build 1892 when themes are turned on for the application but turned off for userobjects and the userobject is a datawindow and the datawindow border is turned on for the userobject but turned off at runtime.
We have a window which has userobjects dynamically created using the openuserobject method. These userobjects are inherited from the datawindow object which has its border set to box. Based on user preferences, the user can choose to have a border or no border on these datawindow userobjects which we achieve by turning off the border property as the userobjects are created.
However, as the screen is created and then later on as the user is working in the screen when we use script to turn on/off redraw for these datawindows they will sometimes flash the box border momentarily (even though it is turned off). It is quite arbritrary and very quick.
Our workaround is to turn off our custom userobjects border property as the default value.
I am guessing this code happened as a changed made to support overriding themes for userobjects which was added by Appeon in the PB2022 version.
Has anyone run into this? I do not have time to create a test application - and I am not sure I will get it to happen but I will submit as a bug anyway although it is quite minor.
Mark
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.