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