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 / April 2004

Tip: Looking for answers? Try searching our database.

user controls moved from/to panel issues

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Xavier Musy - 05 Apr 2004 22:30 GMT
So here's the issue.  I have a user control.  Let's say it has a text box in
it.  Now on a Form, I have a Panel (docked top) and a TabControl with a Tab
on it (docked bottom).  My usercontrol is on one of the containers (panel or
a tabpage).  Now in design-time, like using VS.NET, if I select and drag the
usercontrol to another container, such as from the panel to a tabpage,
several issues arise.  (1) child controls of the usercontrol now are able to
get focus.  E.g., the textbox in the usercontrol receives focus and I can
type in it (not normal - usually you can't select/mess with child controls
of the usercontrol) (2) in some cases, I can no longer even select the user
control, but only give focus to the child controls.

Is this a known bug?  Is there anything I can do to the usercontrol to
prevent this?

Thanks in advance,
--Xavier
Xavier Musy - 05 Apr 2004 22:38 GMT
I have a strong suspicion that this is the exact same issue as:
Designer problem (bug?) selection user controls

However, I don't believe this is a VS.NET 2003 specific issue as much as it
is a .NET issue, likely in one of the Designer classes. Is there any
workaround at all?

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.