• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 551
  • Last Modified:

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!
0
svemir
Asked:
svemir
1 Solution
 
checooCommented:
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now