- Lukas Kluge
- PowerBuilder
- Thursday, 25 June 2020 10:00 AM UTC
Hello,
I'm using PowerBuilder 2017 R3.
We have an issue that our windows flicker alot when opening them due to different operations that are being performed (changing texts based on database entries, showing/hiding certain objects based on user privileges etc).
I'm tasked with trying to reduce those flickers/changes so that the window is basically ready to use when the user sees it. I understand I can use SetRedraw() to apply all changes at once. The way I see it I have to disable and enable redraw for every object on the window, is that correct or is there any way to just do it for all objects?
Also, many of these windows are sheet windows, is there really no way to make sheet windows invisible until they are fully loaded? Neither w_window.visible=false nor w_window.hide() seem to work.
I'm just trying to find out if there is any "best practice" so to speak when it comes to preventing flickering.
Thank you!
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.