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 / WinForm General / December 2004

Tip: Looking for answers? Try searching our database.

UserControl Design Mode

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rick - 09 Dec 2004 23:39 GMT
I have a UserControl that contains a label and a textbox (just as an
example).  Is there any way during design mode via the VS.Net Designer, to
allow the developer using the designer access to that label or textbox of the
user control?  Ie. click on the user control but directly where the label is
and have focus come on the label of that user control and not the user
control itself?

My goal is to allow a developer to resize the label or textbox of a user
control with their mouse and not having to go through the properties grid
(ie. by make the textbox and label public).  Is this even possible?

Thanks,

-Rick
Ed Kaim - 13 Dec 2004 14:40 GMT
Yes, but it takes a little work. Check out
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
conimplementinguitypeeditor.asp

for more details.

>I have a UserControl that contains a label and a textbox (just as an
> example).  Is there any way during design mode via the VS.Net Designer, to
[quoted text clipped - 12 lines]
>
> -Rick
Rick - 13 Dec 2004 22:31 GMT
Thanks Ed,
Looks like that is the way to go and i'm going to make my form which the
UITypeEditor will invoke into a Customs Form Designer per the article found
at:  
http://msdn.microsoft.com/msdnmag/issues/04/12/CustomFormsDesigner/default.aspx  

Thanks for your help

-Rick

> Yes, but it takes a little work. Check out
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cp
conimplementinguitypeeditor.asp
 
[quoted text clipped - 16 lines]
> >
> > -Rick

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.