Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What Code Calls What Object?
Message
 
 
To
30/08/2004 10:46:15
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00937562
Message ID:
00937718
Views:
10
Jay,

>I was easily able to see what called something as long as I knew the parent beforehand, but when I only know what is called, finding the parent(s) seemed impossible.
>
>Anyone know how to do this?

If you are indirectly calling forms with code like:
ThisForm.DoForm("MyForm")
You are going to have to write your own parser code looking for these calls and "resolving" them into something more meaningful. If you go an additional level of indirection ala
thisform.cChildForm = "FormXYZ"
and later on call it with
ThisForm.DoForm( thisform.cChildForm )
you have added more complexity to the problem.
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