以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  窗口问题  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=55599)

--  作者:老初学者
--  发布时间:2014/8/19 20:29:00
--  窗口问题
如何将打开的独立窗口全部隐藏,可以遍历吗。
--  作者:有点甜
--  发布时间:2014/8/19 20:31:00
--  
For Each f As Object In Forms
    If f.Opened AndAlso f.BaseForm IsNot Nothing Then
        f.BaseForm.Visible = False
    End If
Next

 


--  作者:老初学者
--  发布时间:2014/8/19 21:06:00
--  回复:(有点甜)For Each f As Object In Forms ...
成了,你确实甜!谢谢