Docking problem

Hi,

I've got a mdi form with a toolstrippanel(+toolstrip) left and one on the right.

I've also got a panel between the toolstrips. I want it to dock(fill) it, but when I do this, the panel is filled also behind the toolstrippanel instead of only between the toolstrips.

Anybody how to solve this



Answer this question

Docking problem

  • scottcable

    Did you tried to cut the panel and paste-it again

  • JDPeckham

    then would the panel be drawn over the toolstrips, and not between
  • amendez

    I did not have a clear picture of your problem, but. Set to both toolstrips Dock property also. For example Left and Right. If that not helps then cut both toolstrips and paste again.

  • JackBoughson

    I've tried about everything now

    Stil the same result. Only when I add a toolstripcontainer it works. But because i've got controls on the back of the Mdi_parent I can't use it.
    The controls are always drawn over everything else(forms/panels/...).


  • neto

    yes I have. I also started from scratch, but with the same result
  • LonOrenstein

    Unfortunely, it didn't helped, it is still behind the toolstrip.
  • Jim J

    The containers of the toolstrips (any panel or whatever) should have the same z-index with the panel you want to be displayed in between. May be you are setting the dock property of the wrong containers. First select the toolstripcontainers dock property to right and left then insert a new panel on the form. After that if you set the dock (fill) property of the panel it should be in between the toolstrip containers. If not just play with the z-indexes. I hope it will be helpful.


  • Jaclora

    On the designer pane right click the panel you want to dock and click 'Bring to Front' ..
  • Docking problem