Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass property by reference?
Message
De
31/01/2005 17:23:16
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
 
 
À
31/01/2005 17:13:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Database:
Visual FoxPro
Divers
Thread ID:
00982472
Message ID:
00982503
Vues:
20
Hi Randy,

You're right, that's a dependancy I don't want. Just checking if there was syntax I was missing. I guess not, so I'll just stick with what I'm doing. Thanks.


>No. You could pass the whole object reference, however. But then your recipient would have to know the object model of the form to find the value. Probably a dependency you're not looking for.
>
>-- Randy
>
>>Is there are way to pass a form property to a function/method by reference? I have an array property that I need to pass to a method on a different class. Using @Thisform.aMyArray fails, so I'm currently copying the array to another variable before passing it to the method, but if there's a better way, I'd prefer to use it.
>>
>>Thanks.
Joel Leach
Microsoft Certified Professional
Blog: http://www.joelleach.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform