VB动态加载数组控件

前端之家收集整理的这篇文章主要介绍了VB动态加载数组控件前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
    intCMD = intCMD + 1
    Load Me.Command1(intCMD)
    Me.Command1(intCMD).Caption = "我是按钮" + CStr(intCMD)
    Me.Command1(intCMD).Top = Me.Height / 2 + intCMD
    Me.Command1(intCMD).Left = Me.Width / 2 + intCMD
    Me.Command1(intCMD).Visible = True
    intCMD = Me.Command1.UBound
    Debug.Print intCMD
原文链接:https://www.f2er.com/vb/259261.html

猜你在找的VB相关文章