M
moondaddy
I have a base form where I docked a panel control across the header to act
as a custom menu/tool bar. If I were to dock another control in the base
form to the left side, it would recognize the first panel docked on the
header, and therefore the 2nd panel would stretch from the bottom of the
form to bottom of the 1st panel (1st panel being the one docked to the top
which stretches from the left to the right side of the form). Ok that all
works as expected. now I remove the 2nd panel from the base form as it was
just a test to see that the docking was working correctly.
Now I build the project and go to a form that's derived from this base form
and I dock a control to the left side of the form. Instead of this
left-docked control stretching from the bottom of the header panel (which is
part of the base form and docked on top) to the bottom of the form, it
stretches all the way to the top of the form and overlays my custom header
(which is part of the base form).
Is there anyway to change this behavior for a control docking in a derived
form and recognizing the docking of a control in the base form?
Thanks.
as a custom menu/tool bar. If I were to dock another control in the base
form to the left side, it would recognize the first panel docked on the
header, and therefore the 2nd panel would stretch from the bottom of the
form to bottom of the 1st panel (1st panel being the one docked to the top
which stretches from the left to the right side of the form). Ok that all
works as expected. now I remove the 2nd panel from the base form as it was
just a test to see that the docking was working correctly.
Now I build the project and go to a form that's derived from this base form
and I dock a control to the left side of the form. Instead of this
left-docked control stretching from the bottom of the header panel (which is
part of the base form and docked on top) to the bottom of the form, it
stretches all the way to the top of the form and overlays my custom header
(which is part of the base form).
Is there anyway to change this behavior for a control docking in a derived
form and recognizing the docking of a control in the base form?
Thanks.