VB有什么美方法判断一个窗体是否加载了

VB有什么好方法判断一个窗体是否加载了如题.........[解决办法]可以使用forms集合遍历已加载的窗体.VB cod

VB有什么好方法判断一个窗体是否加载了
如题.........

[解决办法]
可以使用forms集合遍历已加载的窗体.

VB code
dim f as formfor each f in forms    if f is theForm then        ' ...    end ifnext