User from not behaving as expected

N

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.
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top