Is it possible for a VB app to create a textbox dynamically during runtime?
Thanks.
Printable View
Is it possible for a VB app to create a textbox dynamically during runtime?
Thanks.
yes very much possible use add method of control collect of the form
Thanx Manish
sorry the collection name is Controls nt Control
Set oNewTextBox = Controls.Add("VB.Textbox", "MyBrandNewTextBox")
This only works in VB6
You could also ues a control array. Add a textbox to the form set it's index to 0. Now you can use Load Text1(x) in your code to add a textbox(where x is a number from 1 to 32767)
------------------
Vincent van den Braken
EMail: [email protected]
ICQ: 15440110
Homepage: http://www.azzmodan.demon.nl