Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
It's so slow ... !!!
Message
From
19/11/1998 10:22:02
 
 
To
19/11/1998 10:18:57
Fausto Garcia
Independent Developer
Lima, Peru
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00159258
Message ID:
00159260
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform