|
-
Dec 23rd, 2003, 04:46 PM
#1
Thread Starter
New Member
Creating controls at runtime
Is there anyway to create controls on a form at runtime?
Matthew G.
-
Dec 23rd, 2003, 04:47 PM
#2
Lively Member
Last edited by Daniel McCool; Dec 23rd, 2003 at 04:53 PM.
-
Dec 23rd, 2003, 05:49 PM
#3
Hyperactive Member
first method:
Create a control array say text(0) at design time and at runtime u can say load text(1)
second method:
me.controls.add "vb.textbox","text1"
in both the cases u need to set the visible property to true.
-
Dec 23rd, 2003, 06:54 PM
#4
Originally posted by ravi15481
first method:
Create a control array say text(0) at design time and at runtime u can say load text(1)
second method:
me.controls.add "vb.textbox","text1"
in both the cases u need to set the visible property to true.
...and for the first method you need to set it's location or otherwise it will be placed on top of it's sibling.
-
Dec 23rd, 2003, 10:57 PM
#5
-
Dec 24th, 2003, 07:20 AM
#6
Now, this may seem a bit drastic and a long shot...but how about search for "Controls and create and runtime"???
There are billions upon trillions of posts on here relating to this topic...
Woka
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
|