Checking for instance of form. [SOLVED]
Hi,
I have a form in an MDI application called viewer. It is used to display images. This form gets opened and closed all the time. I want to know if there is anyway to interrogate whether or not the form "instance" exists?
I have tried IsNothing and some others with no luck.
The way I am doing it now is with a "tracking variable". Basically I have a Boolean variable named viewerVisible in the MDI parent, when the MDI parent opens the instance it sets it to True, when the viewer closes it sets it to False.
Is there a better way of doing this? It just seems wrong/sloppy.
Thanks :thumb: