English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
所有分類

我在一個MDIForm中開啟一個AForm的MDIChild表單
我要如何偵測!才能知道AForm是否已開啟呢?

2006-02-11 14:38:39 · 1 個解答 · 發問者 MarkC 2 in 電腦與網際網路 程式設計

1 個解答

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

fedest.com, questions and answers