Foxtable(狐表)用户栏目专家坐堂 → 想获取按钮的标题,要用哪个属性


  共有1558人关注过本帖树形打印复制链接

主题:想获取按钮的标题,要用哪个属性

帅哥哟,离线,有人找我吗?
煜杭
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:幼狐 帖子:94 积分:828 威望:0 精华:0 注册:2017/11/13 18:42:00
想获取按钮的标题,要用哪个属性  发帖心情 Post By: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

 回到顶部