Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to tell what called a method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00840375
Message ID:
00840385
Vues:
28
>>Is there a way to tell what called a method in a form?
>
>Howard,
>Try:
>program(program(-1)-1)
>Program(-1) returns the current program stack level. If you substract 1 from that, you get the program/module that called it.
>
>Note: This may be releatively useless information if a menu option called the current program. You may the 10 character random name that the menu generator creates.
>
>HTH.

Great! Thanks for the information.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform