创建标签数组 [英] Creating Label Array

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

问题描述



在VB6中,如果你复制然后经过一个控件就会问你是否要

创建一个阵列dotnet不是!


我想在设计时创建一个标签数组而不是运行时这可以用VB dotnet完成吗?


如果怎么样?


谢谢

解决方案

不是我所知道的。

Stefan


" Adrian" <广告**** @ nospamhotmail.com.uk>在消息中写道

news:dc ********** @ nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com ...


在VB6中,如果你复制然后经过一个控件,它就会问你是否要创建一个阵列dotnet并不是!

我想创建一个数组设计时的标签不是运行时可以在VB dotnet中完成吗?

如果是这样的话?

谢谢



2005年7月24日

实际上我听说在粘贴控件时,它会自动创建

a集合。我不确定你是如何进入这个系列的,但据说它本身就是自己创造一个......


-

Joseph Bittman

微软认证应用程序开发人员


网站: http://71.39.42.23

静态IP


" Adrian" <广告**** @ nospamhotmail.com.uk>在消息中写道

news:dc ********** @ nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com ...


在VB6中,如果你复制然后经过一个控件,它就会问你是否要创建一个阵列dotnet并不是!

我想创建一个数组设计时的标签不是运行时可以在VB dotnet中完成吗?

如果是这样的话?

谢谢



OK我要做的是将一大堆数据放入矩阵16行/行

10列。我只是想能够运行一个简单的下一个循环,

将用于控制它进入的行,并且在循环内它将发布

数据到单元格1-10(或0 - 9)。


我已经尝试过使用datagrid和listview,但是无法将它们运行到这里

方式所以我只是要创建一个数组,是否有更好的方式?


行和列需要对齐我想交替每个

行背景颜色


谢谢


" Joseph Bittman MCAD" < RY ********* @ msn.com>在消息中写道

news:ed ************** @ TK2MSFTNGP15.phx.gbl ...

2005年7月24日<实际上我听说在粘贴控件时,它会自动创建一个集合。我不确定你是如何访问这个系列的,但据说它自己创造了一个......

-
Joseph Bittman
微软认证申请表开发者

网站: http://71.39.42.23 静态IP

阿德里安 <广告**** @ nospamhotmail.com.uk>在消息中写道
新闻:dc ********** @ nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com ...


我想在设计时创建一个标签数组时间不是运行时可以在VB dotnet中完成吗?

如果是这样的话?

谢谢




Hi
In VB6 if you copied and then past a control it asked you if you want to
create an array dotnet doesn''t!

I want to create an array of Labels at design time not runtime can this be
done in VB dotnet?

If so how?

thanks

解决方案

Not that I know of.

Stefan

"Adrian" <Ad****@nospamhotmail.com.uk> wrote in message
news:dc**********@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com...

Hi
In VB6 if you copied and then past a control it asked you if you want to
create an array dotnet doesn''t!

I want to create an array of Labels at design time not runtime can this be
done in VB dotnet?

If so how?

thanks



July 24, 2005

Actually I have heard that when pasting controls, it AUTOMATICALLY creates
a collection. I''m not sure how you access the collection, but supposedly it
creates one itself.....

--
Joseph Bittman
Microsoft Certified Application Developer

Web Site: http://71.39.42.23
Static IP


"Adrian" <Ad****@nospamhotmail.com.uk> wrote in message
news:dc**********@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com...

Hi
In VB6 if you copied and then past a control it asked you if you want to
create an array dotnet doesn''t!

I want to create an array of Labels at design time not runtime can this be
done in VB dotnet?

If so how?

thanks



OK What I''m trying to do is put a load of data in to a matrix 16 lines/rows
by 10 columns. I just want to be able to run a simple for next loop that
will be used to control what row it goes to and within the loop it will post
the data to cell 1 -10 (or 0 - 9).

I have tried using the datagrid and the listview, but can not get them to
work in this manner so I was just going to create an array, is there a
better way ?

the rows and columns need to be aligned and I would like to alternate each
rows background colour

thanks

"Joseph Bittman MCAD" <Ry*********@msn.com> wrote in message
news:ed**************@TK2MSFTNGP15.phx.gbl...

July 24, 2005

Actually I have heard that when pasting controls, it AUTOMATICALLY creates
a collection. I''m not sure how you access the collection, but supposedly
it creates one itself.....

--
Joseph Bittman
Microsoft Certified Application Developer

Web Site: http://71.39.42.23
Static IP


"Adrian" <Ad****@nospamhotmail.com.uk> wrote in message
news:dc**********@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.com...

Hi
In VB6 if you copied and then past a control it asked you if you want to
create an array dotnet doesn''t!

I want to create an array of Labels at design time not runtime can this
be done in VB dotnet?

If so how?

thanks




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

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