I have created a class for a control. I have tried deriving the class from UserControl, ContainerControl or an existing control and the following issue applies to all.
The class I have created for a control contains a Panel docked at the top.
When I use this control on a form in the VS designer, the control appears ok with the child panel docked at the top.
Now I want to use the designer to add another control as a child of my control and dock this to the top but below the Panel that is added in the class of the control.
However the designer always adds it above the existing Panel presumably because the Panel hasnt been added directly by the designer but is part of the derived control.
Is there any way to get the controls i subsequently dock to the top to be below the Panel contained in the derived control.
Thanks
Steve