Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What Code Calls What Object?
Message
 
 
À
30/08/2004 10:46:15
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00937562
Message ID:
00937718
Vues:
9
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform