Information générale
Catégorie:
Programmation Orientée Object
Titre:
How can I pass an object property by reference?
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement