|
-
March 28th, 2000, 02:32 AM
#1
create at runtime
i wanted to create textboxes at run time . Is it possible ???
-
March 28th, 2000, 02:57 AM
#2
Re: create at runtime
in VB 6 you can do this with the Add method of the Controls collection.
Dim l as Control
set l = me.Controls.Add("VB.Textbox", "mylabel")
l.Visible = true
l.Top = 0
l.Caption = "test"
...unless you want to use Control arrays and use the Load function.
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
|