By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,396 Members | 2,501 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,396 IT Pros & Developers. It's quick & easy.

how to create a array of labels in vb.net?

P: n/a
Any one know how to create a array of labels in vb.net. the old way of copy
in vb6 dont seem to work

any advice

Regards

--
WebSite : http://soonlee.agreatserver.com
Jul 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
VB.NET does not have control arrays however you can simulate the
functionality using one event handler for multiple controls. For more
information check out this article.

http://www.syncfusion.com/faq/winforms/search/747.asp

--
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada
http://msmvps.com/windsor/
"Soon Lee" <ne****@yahoo.com.sg> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Any one know how to create a array of labels in vb.net. the old way of
copy in vb6 dont seem to work

any advice

Regards

--
WebSite : http://soonlee.agreatserver.com

Jul 21 '05 #2

P: n/a
Dim MyLabel(10) as New Label

Is this what you want?

with regards,

J.V.

"Soon Lee" wrote:
Any one know how to create a array of labels in vb.net. the old way of copy
in vb6 dont seem to work

any advice

Regards

--
WebSite : http://soonlee.agreatserver.com

Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.