Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamically Adding Controls & A Slow Form
Message
From
01/06/2001 15:28:06
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00513979
Message ID:
00513995
Views:
12
>Hi All,
>
>When you set up to add controls dynamically, do BizObjs go with the control container or remain on the page?
>
>I've been working on a very slow form: 5 - 10 (Avg is about 6 down from 9 ) seconds after clicking the menu item it displays populated. First it displays as an empty form then about 2 seconds later it is populated with (the correct) data. Any ideas on the delay?
>
>I've cut down the number of Business Objects from 8 to 3 and manually requery to load lookup tables.
>
>Thanks....

We use cdeLogicals to open all lookup views for each page. They're much more lightweight than BizObjs. We also set up each page of the pageframe as a container with all controls, including BizObjs and cdeLogicals inside. That way, the views (and supporting table(s)) and aren't loaded until the user activates the page in question. When we did this for the main form in our app, we cut the Init() time of the form drastically.
---J
Previous
Reply
Map
View

Click here to load this message in the networking platform