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!
I tried that at first, but it didn't seem to work.
But I just tried again, setredraw(true) in pfc_postopen() and showed a messagebox afterwards. After the messagebox there was still flickering and changes, so it seems like there are changes even after the postopen event...
So I guess I will have to look into that.
Thank you!
Are you using the PFC framework version that matches PB 2017R3 or is this an old copy of the framework that has just been migrated forward from an old PB release to release, to release ...?
FYI: https://github.com/OpenSourcePFCLibraries
Regards ... Chris