Interesting.  I use panels all the time, but I've never found a real
need for that kind of tool so I didn't know it existed.  When would you
use it as opposed to simply pasting the control onto the panel?

Charlotte Foust


-----Original Message-----
From: Vince Pacella [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 20, 2005 11:29 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Own Usercontrol with child controls
inside


Look for so-called Visual Studio PowerToy called Control Outline.  It's
a tool window that will display a tree structure of your form and you
can drag and drop indivudual controls onto containers.   It believe I
saw it on GotDotNet

It's been a God-send when constructing forms with many panels or tab
controls.

Regards, 
J. Vince Pacella / OOCL Chicago 
Cell 773-454-8683 Fax - 773-867-5050 

Cargo Tracking Online at: 
www.cargosmart.com 

 

> -----Original Message-----
> From: Unmoderated discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Stanislav Petko
> Sent: Wednesday, April 20, 2005 10:20
> To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
> Subject: [ADVANCED-DOTNET] Own Usercontrol with child controls inside
> 
> Hello everybody.
> 
> 
> I created my own control (inherited form
> System.Windows.Forms.UserControl) named MiniInfo. It is acts 
> something like a very small form (though it's not a form) ... 
> I want to put another controls inside it even in design mode. 
> So the designer attribute is:
> 
> <DesignerAttribute("System.Windows.Forms.Design.ParentControlD
> esigner")>
> 
> Everything is OK a it works as expected. When I place for
> example button on it in design mode it is there ... on that 
> MiniInfo control - MiniInfo is parent of this button.
> 
> But now I hane a Panel on MiniInfo (it is part of this
> control) and in design mode, when I drop a control on 
> MiniInfo, I want it to be added into this panel - the panel 
> will be the parent of dropped controls. I am not able to 
> solve this. WHen I just drop a control on MiniInfo, it 
> becomes a parent of this control automatically ant thus the 
> button is behind that panel.
> 
> I want to make the panel parent of dropped controls.
> 
> Does anybody know how to achieve this?
> 
> 
> Thanks, Stano.
> 
> ===================================
> This list is hosted by DevelopMentor(r)  http://www.develop.com
> 
> View archives and manage your subscription(s) at
> http://discuss.develop.com
> 
> 
> 


IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged.  If it is
not intended for you, please delete it immediately unread.  The internet
cannot guarantee that this communication is free of viruses,
interception or interference and anyone who communicates with us by
email is taken to accept the risks in so doing.  Without limitation,
OOCL and its affiliates accept no liability whatsoever and howsoever
arising in connection with the use of this email.  Under no
circumstances shall this email constitute a binding agreement to carry
or for provision of carriage services by OOCL, which is subject to the
availability of carrier's equipment and vessels and the terms and
conditions of OOCL's standard bill of lading which is also available at
http://www.oocl.com.

===================================
This list is hosted by DevelopMentor(r)  http://www.develop.com

View archives and manage your subscription(s) at
http://discuss.develop.com

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to