的Visual Basic 2010创建控件数组 [英] Visual Basic 2010 Creating a Control Array

查看:112
本文介绍了的Visual Basic 2010创建控件数组的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能让控件数组?或等效的。

How can I make a control array? Or the equivalent.

我用的Visual Basic 6,presents是否当我复制和粘贴,并创建一个控件数组选项控制。

I am used to Visual Basic 6 which presents the option of whether to create a control array when I copy and paste and control.

推荐答案

控件数组早已不复存在。面向对象的方法现在的土地VB的法律。

Control arrays are long gone. Object-oriented methods are now the law of the land for VB.

您需要使用某种形式的集合,如列表

You need to use a collection of some sort, such as a list.

这篇关于的Visual Basic 2010创建控件数组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆