TEXTBOX
Dim i As Integer
Dim textbox As TextBox() ''动态添加10个textbox控件
For i = 1 To 10
textbox(i) = New TextBox
Panel1.Controls.Add(textbox(i))
Next i
不知道哪里错了。就是运行错误。高手帮看下
Dim i As Integer
Dim textbox As TextBox() ''动态添加10个textbox控件
For i = 1 To 10
textbox(i) = New TextBox
Panel1.Controls.Add(textbox(i))
Next i
不知道哪里错了。就是运行错误。高手帮看下