Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a property by reference?
Message
 
To
12/03/1999 17:27:14
Jonathan Cochran
Alion Science and Technology
Maryland, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00196859
Message ID:
00197042
Views:
54
>So, modifying oForm.propertyX in the program will actually modify propertyX, but if you pass oForm.propertyX itself to a program and modify the parameter, propertyX isn't actually modified, just the parameter variable. I wonder if this is by design?

Jonathan,

Yes it is by design as the property belongs to the object and should not be manipulated without accessing the object.
Previous
Reply
Map
View

Click here to load this message in the networking platform