Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I pass an object property by reference?
Message
From
27/02/2001 16:35:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
How can I pass an object property by reference?
Miscellaneous
Thread ID:
00480283
Message ID:
00480283
Views:
36
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.
Next
Reply
Map
View

Click here to load this message in the networking platform