Documentation Suggestion Regarding #PB_Window_Invisible
Posted: Thu Nov 06, 2014 3:36 pm
Hi
I discovered this week that using #PB_Window_Invisible in OpenWindow() results in much higher speed when adding lots of controls or items to comboGadgets. In other development environments I have been use to have a redraw or repaint property that I usually set to false before doing this kind of intense changes to a form but I did not see this in Purebasic and had not realized that making the Window invisible did had the same effect.
My suggestion is to add a note in the documentation in the OpenWindow section about techniques for improving performance when adding and updating controls on a form and to mention the role of #PB_Window_Invisible in this regard.
Thanks,
Simon
I discovered this week that using #PB_Window_Invisible in OpenWindow() results in much higher speed when adding lots of controls or items to comboGadgets. In other development environments I have been use to have a redraw or repaint property that I usually set to false before doing this kind of intense changes to a form but I did not see this in Purebasic and had not realized that making the Window invisible did had the same effect.
My suggestion is to add a note in the documentation in the OpenWindow section about techniques for improving performance when adding and updating controls on a form and to mention the role of #PB_Window_Invisible in this regard.
Thanks,
Simon