I have a program that allows a user to create a number of Textboxes that they specify. I would like to know how to get the information from each of those Textboxes in a different Sub.
Here is code on creating them:
Dim txtLetter(x) As TextBox
txtLetter(x) = New TextBox
Me.Controls.AddRange(txtLetter)
txtLetter(x).Location = New System.Drawing.Point(121, txtLocation)
txtLetter(x).Size = New System.Drawing.Size(30, 20)
txtLetter(x).MaxLength = 1
FormSize = txtLetter(x).Location.Y + 55
I have that in one Sub then how do I get txtLetter1 in another sub?