Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bring to front Or Send to back property?
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00119463
Message ID:
00121256
Views:
53
Ned,

You can bind contained controls to properties of the container. Binding one object to another at the same level of containership or lower is problematic. You can delay the binding until the container Init() if you need the objects to directly interact.

>I was attempting to create a container that could have controls and a data object in it, with the controls bound to properties of the data object. The issue with Init was in controlling the binding of controls to the data object.
>As far as I can tell data binding occurs when an object's Init method fires. I also seem to remember that in order to bind an object's ControlSource to a property of another object, that object must Init before the bound control. I think my attempt to guarantee this had to do with invoking the ZOrder method of one object from the Init of another. I haven't looked at the material in months and I can't remember the details right now, but if you are interested, I'll see if I still have any notes and get back to you.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform