|
-
Oct 3rd, 2007, 11:11 AM
#3
Thread Starter
Lively Member
Re: Array Control
 Originally Posted by petevick
Hi,
try something like
Code:
Dim ict As Integer
Dim txtArr(5) As TextBox
For ict = 0 To 5
txtArr(ict) = New TextBox
txtArr(ict).Text = "Box " & ict
txtArr(ict).Tag = "Box" & ict
txtArr(ict).Size = New System.Drawing.Size(100, 30)
txtArr(ict).Location = New System.Drawing.Point(20, ict * 40)
txtArr(ict).Visible = True
Me.Controls.Add(txtArr(ict))
Next
Pete
Very good!
and events? example Click, GotFocus, LostFocus...
Thank you Pete
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|