>>>>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.
But only once when you store that reference to the property. After that, all you have to do is ThisForm.oControl.Value. If you leave it a text, then you have to Eval() it every time you need it. Just make sure to set that property to .null. in the Destroy of the form.
Mark McCasland
Midlothian, TX USA