|
-
Apr 14th, 2000, 06:44 PM
#1
Thread Starter
PowerPoster
Hey,
How can I load an object into another? In my project I first load a picture box and then I want to load labels which are in this box... I played around with the .Parent and .Container -properties but... on idea .
Code:
Load Picture1(1)
Load Label1(1)
'Doesn't work :(
'Label1(1).Container = Picture1(1)
Any suggestions?
-
Apr 15th, 2000, 03:16 AM
#2
Hyperactive Member
You have to use 'Set' Like so:
Code:
Load Picture1(1)
Load Label1(1)
Set Label1(1).Container = Picture1(1)
-
Apr 15th, 2000, 07:26 AM
#3
Thread Starter
PowerPoster
Oh, a pointer... ok 
Thanks alot!
-
Apr 15th, 2000, 08:36 PM
#4
Junior Member
This is the function: 'CreateObject' bur i don't now how is works.
-
Apr 15th, 2000, 11:59 PM
#5
Thread Starter
PowerPoster
Thanks but the Container property is exactly what I was looking for... just forgot to use 'set'
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
|