Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a value from a form in a class
Message
De
20/06/2000 09:25:25
 
 
À
19/06/2000 19:10:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00380150
Message ID:
00382154
Vues:
30
>Another possibility is to pass a reference to the calling object as input to the class at creation time; have the form populate a member of the passed object, creating it as necessary.

Why? Why not either just pass the parameter/return object every time, or just pass the parameters and expect a return value in a specific property of the called class. I don't see where using the calling object as the parameter object would be an advantage. If they're developed seperatly, the called object could stomp on useful properties in the calling object.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform