Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Capturing Forms
Message
 
 
À
15/03/2004 09:06:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00886260
Message ID:
00886274
Vues:
16
Hi, Jeffrey.

>How can I capture the name of my forms in a global variable?

You mean the caption of a form? You can get to the current active form by using:
if type( "_Screen.ActiveForm" ) = "O"
   x = _Screen.ActiveForm.Caption
endif
Why a global variable? Global variables are generally not a good idea. Maybe you can use an application-wide object (like _Screen.oApp), and then use a property inside it to hold this (if it's really needed).

Tell me more about what you need and I'll try to help.

See you,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform