Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing multiple forms
Message
 
À
21/07/1999 19:33:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00244464
Message ID:
00244769
Vues:
21
This code will release all open forms:

for i = _screen.FormCount to 1 step -1
_screen.Forms[i].release()
endfor

In there, you may want to include code to run a save method on each form and return a value indicating whether to release the form if update was succesful.

Charlie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform