以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  求助,这样代码有什么问题?  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=20253)

--  作者:lihe60
--  发布时间:2012/6/2 15:12:00
--  求助,这样代码有什么问题?
For Each c As winform.control In e.Form.controls
    If c.name="add"
        Dim fm As WinForm.FileManager = e.Form.Controls("合同附件")
        fm.addCommand.performclick()
    End If
Next

--  作者:blackzhu
--  发布时间:2012/6/2 16:38:00
--  

标签没有单击事件的!


--  作者:blackzhu
--  发布时间:2012/6/2 16:45:00
--  

For Each c As WinForm.Control In e.Form.Controls
    If Typeof c Is WinForm.label Then
    Dim t As WinForm.label  = c
    If t.Name = "Add" Then
        t.Text = "这个是增加按钮"
    End If
End If
Next

 

  这个可以修改增加命令的标题,但是就是不能单击