Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can a Form Know What App It Is In?
Message
De
08/04/2005 21:09:38
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Can a Form Know What App It Is In?
Versions des environnements
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Divers
Thread ID:
01002960
Message ID:
01002960
Vues:
71
Is it possible for a class (in particular, a form class) to know which app it is in at runtime?

VFP.ServerName will not work because it gives the top level program. In my case, the form is usually in an .app that is called by the top level program.

I know I could add a property to the class and manually specify the name of the app at design time, but this approach would not work if the class appears in more than 1 app.

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform