Hi Fausto ---
I think it was George Goley who proposed once in that situation to *not* instance controls on non-visible pages on form load, but to wait until a page is activated and then use AddObjects to paint 'em.
Another method I have used to simulate speed is to load up all of the forms (visible=.F.) on application load and then just Show or Hide them as required.
>
>We have a form based on a class that takes 8 seconds (!!!) only to load and show all the visual components it has (without loading ANY data linked to the controls). The form has a pageframe with 11 pages inside ... shall it be the cause?
>Is there a way to speed-up this?
>Is it logic for a form based on a class to take more time to run than a form designed directly (without passing by a class)? (We work with 96MB and Pentium II-266MHz - based workstations, under Windows NT)
>
>Thanks for your answers and help.
>
>Fausto Garcia
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05