|
I have a form on which I would like a Left docked OutlookBar and another dynamica control to fill the rest of the form area. I have used the DockStyle.Left for the OLB and DockStyle.Fill for the control, but the control paints itself "under" the OLB as soon as it is displayed.
The dynamic controls are created and loaded using Reflection, although I wouldn't think that would matter. I have also tried setting the OLB DockStyle.Left and the dynamic control DockStyle.Left, but as soon as it is displayed, the dynamic control becomes the left-most control instead of the OLB which was left-most in design time.
If I set the DockStyle.Right for the dynamic control, it will not fill the form area and there will be a large unused area on the form.
Anyone have any ideas other than writing resize code on the form?
Thanks |