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?
Thanks for your response,
Jonathan
>>Can a property (such as a form property) be passed by reference to a .PRG (DO xyz WITH Thisform.rc_Property)? It looks as though it can't be done directly (it can be, by saving the property to a variable, passing the variable, then saving the variable back to the property).
>>
>>Thanks,
>>Jonathan Cochran
>
>You may just send the object reference:
>DO ... WITH Thisform
>and in prg:
>LPARAMETER oForm
>=messagebox(oForm.propertyX)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only