[Solved] How to test if a form is open?
Posted: Tue Feb 28, 2017 9:17 am
I have Googled this question and found plenty of code dating back to 2009 and thereabouts, but most of it does not work and the remainder does not answer my question.
I expected the application to be able to identify which forms are open, probably in an array, but I cannot find such an array anywhere in the object hierarchy. The Forms collection contains all the forms in the application whether they are open or not and I can't see anything the the properties of a Form that would tell me if it is open.
There must be a way, but I'm not finding it. Any help would be appreciated.
Kind regards,
Doug
I expected the application to be able to identify which forms are open, probably in an array, but I cannot find such an array anywhere in the object hierarchy. The Forms collection contains all the forms in the application whether they are open or not and I can't see anything the the properties of a Form that would tell me if it is open.
There must be a way, but I'm not finding it. Any help would be appreciated.
Kind regards,
Doug