Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Understanding LINKED...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00083669
Message ID:
00083847
Views:
32
>Bruce,
>
>LINKED is just a way of giving a memvar name to the form object. That memvar still has scope as you've found. If you are trying to get two forms to cooperate with each other you might want to try:
>
>do form Child with thisform linked oForm
>thisform.moChildForm = oForm
>
>where moChildForm is a parent form property, the child form can also keep it's own link back to the parent form with the reference you passed to it. They can use these links to make callbacks to each other. For instance when the child form wants to close it might:
>
>this.moParentForm.CallingToLetYouKnowImOuttaHere()
>
>in it's Release() method. The Parent form can then:
>
>* Method CallingToLetYouKnowImOuttaHere()
>this.moChildForm = .null.

I played with the linked idea a bit, but still wasn't able to use it effectively...but then I read Jim's post, and understand why. But thanks, anyway, I learned something new and found what I was seeking, also...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform