Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I check if a form is open (ie not released)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00692902
Message ID:
00693143
Vues:
24
Try this code as all open forms are kept as an array of objects in activeforms collection.

************

llFound=.f.
For Each loForm IN _SCREEN.ACTIVEFORMS
IF UPPER(ALL(loForm.Caption))='MYFORM'
llFound=.T.
EXIT
ENDIF
ENDFOR
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform