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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement