|
-
Nov 21st, 1999, 12:52 PM
#1
Thread Starter
Member
Is it possible for a VB app to create a textbox dynamically during runtime?
Thanks.
-
Nov 21st, 1999, 08:40 PM
#2
Lively Member
yes very much possible use add method of control collect of the form
Thanx Manish
-
Nov 21st, 1999, 08:41 PM
#3
Lively Member
sorry the collection name is Controls nt Control
-
Nov 21st, 1999, 09:32 PM
#4
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
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
|