Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best method to determine if form is active
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00514365
Message ID:
00514370
Vues:
14
Allan,

You can use the form's caption to test if the form exists using the following code:-

IF WVISIBLE('FormCaption')
ACTIVATE WINDOW FormCaption
OTHERWISE
DO FORM FormName
ENDCASE

DO CASE
CASE WVISIBLE('frmCustomer')
ACTIVATE WINDOW frmCustomer
OTHERWISE
DO FORM customer
ENDCASE
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform