Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form References
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00012233
Message ID:
00012254
Views:
32
>Couple times I had troubles referencing 'parent' form:
>I call one form (modal) from another (parent) and try to reference properties from 'parent'. It works just in case if 'parent' is also modal, else I get an error 'Member not found" if 'parent' is modeless. Surely there are ways to go around but may be someone can tell me more about it. TIA.


I don't have that problem. I use the NAME clause of the Do Form command which basically creates an object reference and LINK them. Everything works fine as far as I can remember.
===
Do Form MyForm Name frmMyForm linked

?frmMyForm.Name
===
Works like a champ.

HTH,
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform