Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Do FORM vs. createobject()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00859255
Message ID:
00859291
Views:
13
>>Is it more efficient to 'Do form' or createobject where a form is a class?
>>I am referring to the speed in terms of loading as well as the useage of resources, etc.
>>TIA.
>
>Never tried to compare them this way. IMHO, the main reasoning between these two methods of form instantiation is not the instantiation speed, but rather in the advantages you get with one or another. So, the choice should not depend on instantiation speed, but rather on more important factors like inheritance from certain form class, or having the Dataenvironment available in the form. You just do what you need to do.

Nick,

I have been using the Do Form.
I was concerned that maybe I was missing the boat in terms of efficiency, etc.
Thanks once again.
Regards,

Allan Coganovitch
allanc@proven-solutions.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform