Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control source question
Message
From
03/02/2003 09:56:12
 
 
To
30/01/2003 18:32:47
General information
Forum:
Visual FoxPro
Category:
CodeMine
Miscellaneous
Thread ID:
00746974
Message ID:
00748358
Views:
20
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
Map
View

Click here to load this message in the networking platform