您当前的位置: 首页 > 

彭世瑜

暂无认证

  • 3浏览

    0关注

    2791博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

VB编程:利用CallByName函数对对象进行操作-23

彭世瑜 发布时间:2016-11-21 18:40:52 ,浏览量:3

运行效果
VB编程:利用CallByName函数对对象进行操作-23
备注:不是界面优化太差,commad2是通过单击事件改变了其位置
程序代码
Private Sub Command1_Click()
    Text2.Text = CallByName(Text1, "text", VbGet)
End Sub
Private Sub Command2_Click()
    If Command2.Left 0 Then
        CallByName Command2, Text3, VbMethod, 0, 0
    Else
        CallByName Command2, Text3, VbMethod, 1000, 200
    End If
End Sub
Private Sub Form_Load()
    Text3.Text = "move"
    CallByName Text4, "mousepointer", VbLet, 15
End Sub
关注
打赏
1665367115
查看更多评论
立即登录/注册

微信扫码登录

0.4304s