|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
What comes with control parenthoodConsider two Pictureboxes and the following:
PictureBox2.Parent = PictureBox1 What does that do. The only thing I could find in the help relates to Control.ControlCollection but I think there are other considerations. I'm guessing it does not relate the size nor location of the boxes. Right? I believe it does relate to transparency. Right? What else comes with parenthood?? Thanks for any insight Apart from parenthood being a pain in the a**.
Setting the Parent property value to a null reference (Nothing in Visual Basic) removes the control from the Control.ControlCollection of its current parent control. Normally, a child becomes a child because the parent has added it to its controls collection. -- Show quoteHide quoteBest Regards The Inimitable Mr Newbie º¿º " **Developer**" <REMOVEdevelo***@a-znet.com> wrote in message news:%23fbriVeIGHA.3144@TK2MSFTNGP10.phx.gbl... > Consider two Pictureboxes and the following: > PictureBox2.Parent = PictureBox1 > > What does that do. The only thing I could find in the help relates to > Control.ControlCollection but I think there are other considerations. > > I'm guessing it does not relate the size nor location of the boxes. Right? > > I believe it does relate to transparency. Right? > > What else comes with parenthood?? > > > > > > Thanks for any insight > > > > > > I was wonder what the effects are.
Show quoteHide quote "Mr Newbie" <m*@mine.com> wrote in message news:Ocy4%23GgIGHA.1124@TK2MSFTNGP10.phx.gbl... > Apart from parenthood being a pain in the a**. > > Setting the Parent property value to a null reference (Nothing in Visual > Basic) removes the control from the Control.ControlCollection of its > current parent control. > > Normally, a child becomes a child because the parent has added it to its > controls collection. > > > -- > Best Regards > > The Inimitable Mr Newbie º¿º > " **Developer**" <REMOVEdevelo***@a-znet.com> wrote in message > news:%23fbriVeIGHA.3144@TK2MSFTNGP10.phx.gbl... >> Consider two Pictureboxes and the following: >> PictureBox2.Parent = PictureBox1 >> >> What does that do. The only thing I could find in the help relates to >> Control.ControlCollection but I think there are other considerations. >> >> I'm guessing it does not relate the size nor location of the boxes. >> Right? >> >> I believe it does relate to transparency. Right? >> >> What else comes with parenthood?? >> >> >> >> >> >> Thanks for any insight >> >> >> >> >> >> > > |
|||||||||||||||||||||||