Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Initial value of property.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00480604
Message ID:
00480991
Vues:
7
Hi Bill.

>When creating a class if you set the initial value of a property to the result of NEWOBJECT or CREATEOBJECT, although the reference will exist you will be unable to access any of the properties or methods that belong to that object.

Why not instantiate the object in the Init of the class rather than in the initial value of the property?

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform