Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / May 2005

Tip: Looking for answers? Try searching our database.

Designer for container control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael Powell - 26 May 2005 17:13 GMT
I've created a container control based object that needs a design time
editor.  I've created one based on ControlDesigner but there are several
problems:
My control no longer behaves as a container control (it will not allow me to
place objects within it).
The designer allows me to change a point in the control, however, the point
can be outside the control, and PaintAddornements clips to the control's
rectangle.
Finaly, the control needs to have aspects of transparency which work fine at
runtime but HORRIBLE at design time
is there any way to refresh the whole form after a change is made with the
designer?
is there a way to change PaintAddornements to remove the cliping?
and how do i make a designer for container controls?

Signature

~Mike Powell,
software designer for Ramuseco ltd
www.ramuseco.com

Francisco Padron - 28 May 2005 19:09 GMT
You need to derive your designer from ParentControlDesigner.

ContainerControl has ScrollableControlDesigner as the default designer which
derives from ParentControlDesigne, by deriving your designer from
ControlDesigner you are loosing all this functionality.

Signature

Francisco Padron
www.chartfx.com

> I've created a container control based object that needs a design time
> editor.  I've created one based on ControlDesigner but there are several
[quoted text clipped - 10 lines]
> is there a way to change PaintAddornements to remove the cliping?
> and how do i make a designer for container controls?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.