Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do FORM vs. createobject()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00859255
Message ID:
00859291
Vues:
12
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform