Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two references to one object
Message
De
25/02/2004 08:35:40
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
25/02/2004 03:59:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00880607
Message ID:
00880660
Vues:
13
Could you add a new property to obj on the fly regarding prop2 so you could read it later when destroyed?

>Hi.
> We have two properties ("prop1", "prop2") that references the same object
>in this way:
>
> ***************
> obj.prop1=createObject("myobject")
> obj.prop2=obj.prop1
> ***************
>
> When we are destroying the object "obj", we need to know who has been the
>creator of the object "myobject". Are there any differences between
>"obj.prop1" and "obj.prop2" for solving this question.
>
>Thanks.
>José Luis Santana
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform