PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → window generation
window generation
Iniciado por guest, 18,nov. 2015 10:35 - 4 respuestas
Publicado el 18,noviembre 2015 - 10:35
Hi,

I have a view windows ( windev ) that are quite large, big number of controls. The windows have several tabs and a big tabble with quite a view colums.

These big windows take quite long to generate. Is there a way to make the generation of the window les dramatic. Maybe loading without showing and when loaded show everything at ones?

regards
Allard
Publicado el 18,noviembre 2015 - 10:55
If you have several tabs you can load the data in the first tab, show the windows and load the other tabs using threads.

This can be one of the possible solutions but it's dificult without seeing your windows and what you need to acheive.
Publicado el 18,noviembre 2015 - 11:56
Allard,

To have windows create all their controls first and then show it look at the help for the DisplayEnabled property. Also you could design the window as visible property = false and then set it to visible after it has been initialized.
Publicado el 18,noviembre 2015 - 12:15
Hello Allard,

With multi tab screens, I don't fill the tabs until the user selects the tab. At that point I test to see if I have already filled that tab and if not then I run the code to fill it. I use variables to see if a tab has been filled or not.

Regards
Al
Publicado el 18,noviembre 2015 - 13:50
Thanks

Allard