以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  如何判断当前界面打开的Chart的名称  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=122902)

--  作者:ZJZK2018
--  发布时间:2018/8/3 21:46:00
--  如何判断当前界面打开的Chart的名称
下面代码出错:

For Each c As WinForm.Control In e.Form.Controls
    If Typeof c Is WinForm.Chart Then \'判断控件是否是文本框
        If t.Visible = True Then
            msgbox(t.Chart.name)
        End If
    End If
Next


--  作者:有点蓝
--  发布时间:2018/8/3 22:00:00
--  
msgbox(t.name)