Home All Groups Group Topic Archive Search About

User from not behaving as expected

Author
16 Feb 2007 12:57 AM
newscorrespondent
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.

Author
16 Feb 2007 9:51 AM
Ciaran O''Donnell
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

Show quote
"newscorrespond***@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.
>

AddThis Social Bookmark Button