Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close any open form before exit
Message
De
16/06/2004 01:40:33
 
 
À
15/06/2004 15:25:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00913951
Message ID:
00914137
Vues:
11
Hi,

Since we are in the topics of closing all the form.
I had similar problem on this topics.

My application form are created using classes.
User just click the x button on the top right concern
to close the form. Our form are created using
createobject.

Upon exit, we release the class and set it to null.

However, repeatly opening and closing the same form
will cause the runtime error of 'too many windows open'.
I suspect some form calling other classes are not close
properly which is causing the problem.

How do I rememdy this issue.
Any help or advise is very much appreciated.
Thank you


>I agree that I had the loop backgrounds, should have started at the high number and went backwards, but there really isn't anything wrong with having the IF/END IF. Sure your code works as well and I thank you for posting it.
Best Regards
Virusim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform