11智能在线
新记
VB6中怎么用代码实现添加控件数组
如题所述
举报该文章
相关建议 2017-09-01
首先添加一个label,在属性里把index设为0
添加一个按钮
加入代码
For i = 1 To 2
Load Label1(i)
Label1(i).Left = Label1(i - 1).Left + Label1(i - 1).Width + 100
Label1(i).Visible = True
Next
温馨提示:内容为网友见解,仅供参考
当前网址:
https://11.t2y.org/zz/8qm2mssfs2f284q8vs.html
其他看法
无其他回答
相似回答
大家正在搜
相关问题
VB怎么用代码创建控件数组?
VB中怎样动态添加控件数组
vb6种用语句创建label数组控件
用C#如何实现把已有的控件放入控件数组中?
vb6.0里如何在代码窗口添加控件数组?
VB中如何用代码添加命令按钮
vb代码中可以使用什么语句加载控件数组元素
vb 怎么创建控件数组对象