Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forms cannot be released normally. Why?
Message
 
À
07/09/1998 13:19:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00133827
Message ID:
00133849
Vues:
10
Kin Keung,

Cetin has the right idea but the code will fail. Try this code;
lnForms = _SCREEN.FormCount
FOR lnCnt = 1 TO lnForms
   _screen.Forms(1).Release
ENDFOR
The reason to always release forms(1) is that the first time through the loop you have three forms and lnCnt = 1. Thesecond time through there are 2 forms and lnCnt = 2, but the third time through the loop you have 1 form and lnCnt = 3.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform