Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NewObject or CreateObject or AddObject
Message
De
27/08/2007 17:33:49
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01250745
Message ID:
01250781
Vues:
21
>>So, NewObject can be used in either case. AddObject is only used with a container. CreateObject would be used in a non-visual, non-container class. I can use either NewObject or CreateObject in my case then. Why even have CreateObject if NewObject can do the same thing?
>
>The NewObject() allows to specify class library as second parameter. The CreateObject() requires SET CLASSLIB beforehand. You could find that from the help though.

Sure, but then what the hell would you do with your time?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform