shingo99 said:hi
i wish to create textbox after i press a button
if the user press the button 3 times, 3 textbox will be created
these textbox are new..not invisible or disable
can this be done?
kindly guide me at this
thank you in advance
Form1.Controls.Add(TextBox1);
'Create the textbox
Dim MyNewTextBox As New TextBox
'Set the location an size properties how you want them
MyNewTextBox.Size = New Size(100, 22)
'Set the text if you want
'Add the textbox to the form
Me.Controls.Add(MyNewTextBox)
'If you want to handle events do it like this
AddHandler MyNewTextBox.TextChanged, AddressOf DynamicTextBox_TextChanged