Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting A Reference To An Object
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01036739
Message ID:
01036742
Views:
7
>I want to retreive a reference to a container from any object in the
>container.
>
>If the container had a grid, and in the textbox in column 1, I would use:
>
>
>this.parent.parent.parent.Parent
>
>
>But if I had a command button on the same container, it would simply
>be
>
>this.parent
>
>
>Is there any way to get a reference to the container regardless of where I'm calling
>ir from?

Call it directly:
thisform.Container
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform