Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing an object from a property
Message
 
 
To
08/06/2001 17:14:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00517216
Message ID:
00517250
Views:
22
>>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.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform