I am using Visual Studion 2005 SP1 and C#.

I have a User Control that has a single label docked at the top of the
control. This control is to be the basis for a number of inherited controls.
Many of the inherited controls will have a split container docked as fill
for the first control to be added. This was working fine and in the controls
already developed it continues to behave as I expect. New controls however
when I dock the split container, the container fills the whole control and
ignores the label on the parent control.

Does anybody know what is happening.

Thanks.

RE: User from not behaving as expected by CiaranODonnell

CiaranODonnell
Fri Feb 16 03:51:07 CST 2007

If you add a control and set it to dock fill. it will respect the area taken
up by other controls at a z index that is lower or higher then it, I cant
remember which exactly. Test it by right clicking on the offending control
and doing Send To Back or Bring to Front.

HTH

--
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com


"newscorrespondent@charter.net" wrote:

>
> I am using Visual Studion 2005 SP1 and C#.
>
> I have a User Control that has a single label docked at the top of the
> control. This control is to be the basis for a number of inherited controls.
> Many of the inherited controls will have a split container docked as fill
> for the first control to be added. This was working fine and in the controls
> already developed it continues to behave as I expect. New controls however
> when I dock the split container, the container fills the whole control and
> ignores the label on the parent control.
>
> Does anybody know what is happening.
>
> Thanks.
>