Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close any open form before exit
Message
From
16/06/2004 01:40:33
 
 
To
15/06/2004 15:25:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00913951
Message ID:
00914137
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform