Michael,
This is because of the binding manager. When it sees This.Parent, it will try to look for the property on itself, and not on to the control we’re actually dealing with. Codemine has promised to change this in a future release. Then there will be a check if controlsource starts with “this.”, and it will then be replaced with “oThis” in the binding manager.
I’ve been waiting for this enhancement myself. Maybe if you also send a request to Codemine support... :)
Jens Erik
>Thanks Gary:
>I figured as much. Though this is probably a foxpro question, why can't I set the controls ControlSource = This.parent.nColumn1 for instance if nColumn1 is a property of the Container? It works for Thisform.nColumn1.
>>Hi Mike:
>>
>>>Right now I've figure I must modify the container init
>>
>>To set the initial value of the container's properties.
>>
>>> and the controls afterchange to set and change these values.
>>
>>To set the subsequent value of the container's properties after the controls have been changed.
>>
>>Seems OK to me.
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