Information générale
Catégorie:
Programmation Orientée Object
I doubt you can do it the normal way. Load and Init are events, not methods. You'd have to have whatever class is creating the object first check to see if it already exists and then instantiate it or not as required. It could be as simple as checking "Type('MyObject.Name') = 'C'
I suppose you might do it in the Load, but I think it would be simple to do it before.
Alan
>Hi
>
>Is this possible from VFP?
>
>Thanks
>Kev
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