Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close all active form at one time
Message
De
11/12/2000 02:29:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Close all active form at one time
Divers
Thread ID:
00451494
Message ID:
00451494
Vues:
88
Dear all,

I would like to close all active forms at one time. I wrote a procedure to do that and used _SCREEN to retrieve the active form. When I run the procedure, it will close the actived forms but miss one. And run again, it also miss one to close. Is it a bug for _SCREEN.form? Code of procedure showed as below:

for each mFORM in .forms
if upper(mFORM.baseclass) = 'FORM'
mRLSFRM = mform.name
release (mRLSFRM)
release all like frm*
endif
endfor

I will link the form with a variable named as name of form when I open the form. Thank you for your help ....

Best Regards,

Justy Chow
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform