Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddProperty Vs NewObject
Message
De
05/01/2009 07:10:20
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
AddProperty Vs NewObject
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01370969
Message ID:
01370969
Vues:
82
Hi,

When I need to add an object to a form I can either:
THIS.ADDPROPERTY([oBjName], NEWOBJECT([ClassName], [cVcxSpec]))
or
THIS.NEWOBJECT([oBjName], [ClassName], [cVcxSpec])
I try to study the object added both ways in the debugger and I really can't figure out what is the difference between the two...

Technically, is there any difference in the above?
What should I consider when trying to choose either of the ways?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform