Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Static or Dynamic Form Classes?
Message
From
13/06/2002 16:31:35
Irv Adams
MSC Managed Care, Inc.
Florida, United States
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00667997
Message ID:
00668235
Views:
20
Rodd:

Basically you're correct, we have somewhat fast machines and the pre-instantiation really isn't a dramatic speed hit for us.

I have writen some PRG-based classes which of course have to be added at run-time but the big drawback there is using code to place them, size them, etc. I have discovered these to be very fast when created, though, maybe even faster than pre-instantiated in some cases. Perhaps it's because they have such minor overhead, just a few lines of code...

Sorry I can't be of more help,

-Irv.

******

>Actually, Irv, that is what I was trying to convey. We have been talking about only instantiating the objects on the other pages when those pages are clicked or activated.
>
>Part of the drawback is that you can't visually lay out the pages at that point. So, the program becomes faster for the user but slows down the development process.
>
>I guess I'm wondering what others are doing. It sounds as if you and Cathi both work in shops that go ahead and place all the components on the form instead of trying to dynamically add things at run time.
>
>Is anybody building forms as minimally as possible and adding things as needed at runtime? Or is that just overkill for the minimal amount of performance that it gives.
>
>If I remember correctly, Maria Atkins recommends a kind of dynamic approach. Is anyone familiar with how she handles the drawback of not being able to visually desing a form when you build dynamically?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform