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?