Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing form object to another form
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01497269
Message ID:
01497271
Views:
62
>Hi,
>
>I am troubleshooting the following issue.
>Form B is called from form A. And the reference to the form object A is passed to form B. The references is stored in a property of form B (e.g. thisform.obj_formA)
>Then in form B in the QueryUnload method a method of form A is called (thisform.method_a). The user gets error ALIAS NOT FOUND.
>My question is, when the method of form A is called from form B and that method has THISFORM code, does VFP see it as the THISFORM of form A or form B?
>
>TIA.

If the other form's method is called, thisform is referred to the form whose method is called.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform