Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding grids REALLY slows down form load time
Message
 
To
23/11/2001 14:54:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00585206
Message ID:
00585299
Views:
12
This message has been marked as a message which has helped to the initial question of the thread.
Steve,

When you add a grid to a form you must instantiate the grid object, each column object, and each control object in the columns. If you have code in the Inits of any of these objects that takes time to run. Don't forget that it also takes time to bind the columns to their controlsources. So if you have 24 grids with 10 columns in each grid you are instantiating 24 grid objects, 240 column objects and 240 control objects and binding 240 columns to their data sources.
Previous
Reply
Map
View

Click here to load this message in the networking platform