473,395 Members | 1,377 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

What comes with control parenthood

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


Jan 25 '06 #1
2 963
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**" <RE*************@a-znet.com> wrote in message
news:%2****************@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


Jan 25 '06 #2
I was wonder what the effects are.
"Mr Newbie" <me@mine.com> wrote in message
news:Oc****************@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**" <RE*************@a-znet.com> wrote in message
news:%2****************@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



Jan 25 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Chris Cioffi | last post by:
I started writing this list because I wanted to have definite points to base a comparison on and as the starting point of writing something myself. After looking around, I think it would be a...
47
by: Neal | last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A quite good article.
3
by: K R | last post by:
Hi, I have generated this XML from my application. But, when I open this XML, it is throwing error. Please help me to resolve this. <?xml version="1.0" encoding="utf-8" ?> <searchResults>...
4
by: Gery D. Dorazio | last post by:
Gurus, If a static variable is defined in a class what is the scope of the variable resolved to for it to remain 'static'? For instance, lets say I create a class library assembly that is...
13
by: Jason Huang | last post by:
Hi, Would someone explain the following coding more detail for me? What's the ( ) for? CurrentText = (TextBox)e.Item.Cells.Controls; Thanks. Jason
8
by: Midnight Java Junkie | last post by:
Dear Colleagues: I feel that the dumbest questions are those that are never asked. I have been given the opportunity to get into .NET. Our organization has a subscription with Microsoft that...
7
by: louise raisbeck | last post by:
Hi, i am using code behind c# pages. I have put a couple of asp:labels on the aspx html page. in the code behind i am trying to set them programatically but am getting error The type or...
5
by: serge calderara | last post by:
Dear all, Does this datalist control is somehow similar as a datasource for any other control ? I really to catch the use of it, can we assimilate that control as a kind of dataset or...
6
by: TB | last post by:
Hi Everyone on comp.lang.c++: I am thinking about learning a programming language and I want to decide whether it is worthwhile spending my time learning the C++ programming language. I am a...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.