我在一個MDIForm中開啟一個AForm的MDIChild表單
我要如何偵測!才能知道AForm是否已開啟呢?
2006-02-11 14:38:39 · 1 個解答 · 發問者 MarkC 2 in 電腦與網際網路 ➔ 程式設計
Dim f As Form, B As Boolean
For Each f In Forms
If f.Name = "AForm" Then B = True: Exit For
Next
If B Then MsgBox "AForm開啟中"
2006-02-11 16:25:51 · answer #1 · answered by W.J.S. 7 · 0⤊ 0⤋