Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DO FORM VS CREATEOBJECT()
Message
De
14/05/2001 11:38:40
 
 
À
14/05/2001 11:03:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00506819
Message ID:
00506849
Vues:
16
Thanks Craig.
I wanted to make sure.
I've heard from other programmers (not on UT) that CREATEOBJECT instantiates faster but, I never could tell the difference.

Thanks again.

Thanks Nadya


>>Hi all.
>>
>>I noticed on some apps. programmer prefer to launch their forms using oMyForm=CREATEOBJECT("myFrmClass") and some prefer to create a form and launch it by issuing "DO FORM myFormName".
>>
>>Are there any advantage(s) of either method?
>>
>>Thanks abunch.


>Using a class (CREATEOBJECT) doesn't have a data environment, so you need to create one programmatically. I >prefer DO FORM.
Work as if you don't need money
Love as if you've never been hurt before
Live as if this is your last day to live
Dance as if no one's watching
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform