|
-
Mar 10th, 2008, 06:51 AM
#1
Thread Starter
Member
How to add labels in run-mode?
I dont know if this has already been discussed, but I would really like to see how to make new labels in runmode?
-
Mar 10th, 2008, 06:55 AM
#2
Re: How to add labels in run-mode?
Welcome to the forums. 
 Originally Posted by Thediabloman
I dont know if this has already been discussed
Many, many times.
Here is just one example.
-
Mar 10th, 2008, 07:19 AM
#3
Thread Starter
Member
Re: How to add labels in run-mode?
Thanks alot mate.. And thanks.. :P
I have a couple of questions..
I would like to add in an array? How do I do this?
I cant write:
Code:
Set futureLabel = Me.Controls.Add("VB.Label", "futureLabel"(n))
I would also like to start a timer for every time I add a label. The timers have the same code, except which label they are affecting..
-
Mar 10th, 2008, 08:34 AM
#4
Addicted Member
Re: How to add labels in run-mode?
Try using the INDEX property of the Label control. or try using something like
Set futureLabel = Me.Controls.Add("VB.Label", "futureLabel" & n)
"n" should hold the running number ....
Last edited by cheenu_vasan; Mar 10th, 2008 at 08:39 AM.
Regards
Srinivasan Baskaran
India
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
|