Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I pass an object property by reference?
Message
De
27/02/2001 16:35:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
How can I pass an object property by reference?
Divers
Thread ID:
00480283
Message ID:
00480283
Vues:
35
Hi

I have a form with an array as a property. What I want to do is pass this array to a function that will fill it. Sometimes, the array will be changed either by adding a new row or even new columns. So, what I need to do is pass this form property (my array) by reference to the function. Here's what I tried:

nPos = afill(@THISFORM.aClients)

This didn't work. I'm guessing it's because of the '@' but I don't know the exact grammatical structure that my command should have. Please help me out!

Thanks a lot in advance, Stephane.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform