How to create array or list of e.g. TextBox items in design time!


Could someone tell me is it possible to make an array or collection or something similar of objects on form. Actually in VB 6 it was easy to fill array of TextBoxes with data from some other Array.

VB 6.0
For i=1 to N
TextBox(i).Text=StringArray(i)
Next

Thanks!
svemirAsked:
Who is Participating?
 
checooConnect With a Mentor Commented:
check the following link about creating control arrays
http://searchvb.techtarget.com/vsnetATEAnswers/0,293820,sid8_gci884833_tax293674,00.html

or an even better way of how to not use control arrays because of better event handling mechanism
http://www.developerfusion.com/show/4375/4/
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.