Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass property by reference?
Message
From
31/01/2005 17:23:16
Joel Leach
Memorial Business Systems, Inc.
Tennessee, United States
 
 
To
31/01/2005 17:13:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00982472
Message ID:
00982503
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform