473,626 Members | 3,467 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What comes with control parenthood

Consider two Pictureboxes and the following:
PictureBox2.Par ent = PictureBox1

What does that do. The only thing I could find in the help relates to
Control.Control Collection 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 968
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.Control Collection 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******** ********@TK2MSF TNGP10.phx.gbl. ..
Consider two Pictureboxes and the following:
PictureBox2.Par ent = PictureBox1

What does that do. The only thing I could find in the help relates to
Control.Control Collection 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******** ********@TK2MSF TNGP10.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.Control Collection 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******** ********@TK2MSF TNGP10.phx.gbl. ..
Consider two Pictureboxes and the following:
PictureBox2.Par ent = PictureBox1

What does that do. The only thing I could find in the help relates to
Control.Control Collection 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
2990
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 waste of time to start writing yet another IDE and so am now thinking in terms of new features/plug-ins for existing systems. Right now I mostly use Komodo Personal and it's pretty close to being what I want. They don't currently support plug-ins,...
47
9122
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
1537
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> <totalhits>16916</totalhits> <searchquery>*</searchquery> <timetaken>TIME TAKEN</timetaken>
4
14888
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 strongly name which contains the class where the static variable is defined. This library can be referenced by multiple projects. I am fairly sure the static variable does not survive across the application boundry but does it within the application...
13
5033
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
3143
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 basically entitled to us to just about every .Net development tool you can imagine. I cant even begin to mention them. To begin with, my background is not that of a programmer, but a systems engineer and the closest I have come to "programming"...
7
1274
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 namespace name 'mylabel' could not be found (are you missing a using directive or an assembly reference?) and it has a wiggly line under it. I have saved the aspx file, but cant get the .cs file to recognise it. What comes first? Or what am I missing? I...
5
1173
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 dataprovider ? Similar things with the Repeater control is for defining a kind of section in a set of dta in a grid layout ?
6
2545
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 starting C++ programmer. By that I mean that I have written one small application in C++ on a real job that required some modular programming. I am also familiar with the Object-Oriented Programming techniques although I haven't used them...
0
8268
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8202
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8707
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8510
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7199
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6125
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5575
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2628
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.