junkste
04-15-2003, 03:08 PM
Hello!
I have a form which contains a picture box, and a label contained in the picture box. Both the picture box and the label are set as elements of a control array so that I can create more of them at runtime. The problem is, the labels are created in the original picture box, but I need them in the new picture box. Does anyone know how to either create the labels in the new picture box OR move them into it after they've been created (I've already tried lblLabel.Container = picPictureBox but it doesn't seem to work). :confused:
Thanks,
Ste
I have a form which contains a picture box, and a label contained in the picture box. Both the picture box and the label are set as elements of a control array so that I can create more of them at runtime. The problem is, the labels are created in the original picture box, but I need them in the new picture box. Does anyone know how to either create the labels in the new picture box OR move them into it after they've been created (I've already tried lblLabel.Container = picPictureBox but it doesn't seem to work). :confused:
Thanks,
Ste