|
-
Nov 19th, 2000, 05:40 AM
#1
Thread Starter
Junior Member
Hi
I use this declaration so I can create a new object in run time.
Private WithEvents Carbon As Label
_____
for carbonnumber=1 to 16
Set Carbon = Controls.Add("vb.label", "Carbon" & Carbonnumber, picturebox1)
next carbonnumber
Now I would like to print the caption of the label with name "carbon16", but I don't know how to get its caption.
How could I create an array of objects in run time?
Thanks for your help.
Jure
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
|