以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  想获取按钮的标题,要用哪个属性  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=121933)

--  作者:煜杭
--  发布时间:2018/7/16 9:51:00
--  想获取按钮的标题,要用哪个属性
For Each c As Winform.Control In Forms(ck).Controls
    If Typeof c Is WinForm.Button
        e.Form.Controls("TextBox4").value = e.Form.Controls("TextBox4").value & "," & c.name
        e.Form.Controls("TextBox5").value = e.Form.Controls("TextBox5").value & "," & c.TEXT     ‘想获取按钮的标题,要用哪个属性
    End If
Next

--  作者:有点甜
--  发布时间:2018/7/16 9:59:00
--  

For Each c As Winform.Control In Forms(ck).Controls

 

改成

 

For Each c As Object In Forms(ck).Controls