-
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?
-
You have to use 'Set' Like so:
Code:
Load Picture1(1)
Load Label1(1)
Set Label1(1).Container = Picture1(1)
-
Oh, a pointer... ok ;)
Thanks alot!
-
This is the function: 'CreateObject' bur i don't now how is works.
-
Thanks but the Container property is exactly what I was looking for... just forgot to use 'set' ;)