Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing an object from a property
Message
From
08/06/2001 17:34:44
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00517216
Message ID:
00517253
Views:
16
>>>What I am saying is that if the object reference is stored to cControl and not the literal "txtwhatever" then Thisform.cControl.value returns the value of the control "txtwhatever".
>>>
>>>My post did not come out as I typed it. I take it putting class between delimiters here is a no no.
>>
>>I don't use quotes between my value in the cControl property and I get an unknown reference. The cControl property is a text property. It holds text. So, I can't see how that can be interpreted as is to be a control reference. Maybe I am missing something. :(
>
>I think he means you can set its value to eval(SomeObject.SomeProperty). Now you have an object ref in the property. But then you would have an oControl property instead of a cControl property.

Which means, back to square, as we still have to evaluate.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform