Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NEWOBJECT() function vs NewObject() method
Message
De
16/02/2011 06:35:56
 
 
À
16/02/2011 06:23:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01500348
Message ID:
01500351
Vues:
64
AFAIK know the statements are interchangeable, but for the first one to work myProperty must already exist.

>Dear Experts,
>
>This.myProperty = NEWOBJECT( "myClass", "myClassLib" )
>&& ...and...
>This.NewObject( "myProperty", "myClass", "myClassLib" )
>
>
>Are the two statements above same? If not, how are they different? Can they be used interchangeably?
>
>Thanks
>Dennis
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform