Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying property values from one object to another
Message
De
14/12/1999 22:32:39
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Copying property values from one object to another
Divers
Thread ID:
00303863
Message ID:
00303863
Vues:
68
What is the best way of transferring property values from one object to another?
Let's say I have an object A with properties x, y, and z
and I have object B with properties q, r, x and y
I want a method to transfer x and y values from B to A without explicitly "knowing" that the object share those properties in common

I'm currently using AMEMBERS() and vartype() etc , but is there an easier way?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform