动态控件问题 Set Command = Controls.Add("vb.commandbutton", "command1", Pic1(1))command1能不能写成控件数组,如果可以的话,该怎样写呢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 for i=0 to 9 Set Command1(i) = Controls.Add("vb.commandbutton", "command1" & i, Pic1(1)) for i=0 to 9 Set Command1(i) = Controls.Add("vb.commandbutton", "command1" & i, Pic1(i)) http://topic.csdn.net/t/20031118/04/2466781.htmlhttp://hi.baidu.com/cspcool/blog/item/9b64741799c94010972b439e.html 使用全局Collectiondim Command as new collection '这句放在模块的最顶端For i = 0 To 9 Command.Add Controls.Add("vb.commandbutton", "command1" & i, Picture1) Command(i + 1).Visible = TrueNext 谢谢各位的参于,结贴了,我用的方法是用load 然后在 pic1里面先加入一个控件,在动态导入的时候就全部都在pic1里面了 用VB为学校做了一个公寓管理系统,应该收多少钱? 求助有关commondialog控件打开文件对话框 Access的问题 急求帮助,先谢谢啦! 如何使得 用CreateObject()方法创建的对象窗口 跳到屏幕的最前面? 微软拼音2003太差了 我想問問題目中的“操作数的个数”這是什麽意思? 我的电脑中了新时光病毒!怎么杀不了!求助! 如何用 vb 代码,替换word模版。 vb一定要运行库么 请问:ADO控件中的下一条记录按钮触发的是什么事件 Common Controls 6.0 XP化 单元格状态改变
Set Command1(i) = Controls.Add("vb.commandbutton", "command1" & i, Pic1(1))
Set Command1(i) = Controls.Add("vb.commandbutton", "command1" & i, Pic1(i))
http://hi.baidu.com/cspcool/blog/item/9b64741799c94010972b439e.html
dim Command as new collection '这句放在模块的最顶端For i = 0 To 9
Command.Add Controls.Add("vb.commandbutton", "command1" & i, Picture1)
Command(i + 1).Visible = True
Next