Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Difference and When to use NEW/ADD/CREATEOBJECT()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00894349
Message ID:
00894385
Vues:
14
Hi Sergey

Thanks for responding and explaining the differences.

>The ADD is a DEFINE CLASS clause and is used when you want to add objects to a class at desine time. The CREATEOBJECT() functin/AddObject() method require that classes wehere loaded into a memory with SET CLASSLIB/SET PROC commands. The NewObject() function/method allows to specify a library and even module where clas s is contained. It's slower than CREATEOBJECT() because it opens class library every time it's called.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform