Layout problem - Mainmenu + toolbar + a "filled" control

  • Thread starter Thread starter Action
  • Start date Start date
A

Action

I have a form that has a main menu (dock: top) and a tookbar (dock: top)
I tried to insert a control that is (dock: fill)
I found that the toolbar actually 'covered' the top of the 'filled'
control....
how should I solve this?!
 
I have a form that has a main menu (dock: top) and a tookbar (dock: top)
I tried to insert a control that is (dock: fill)
I found that the toolbar actually 'covered' the top of the 'filled'
control....
how should I solve this?!

Docking seems to depend very much on the order you add things to a
form, e.g. if you add items 1, 2 and 3 (in that order) and then set
item 3 to dockstyle.top and then item 1 to fill it will cover item 3.

I have found it easier to add panels for groups of items and then
group the items in the panel and the panels on the form. It seems to
be easier if you want to change things later.
 
You can use the Format|Order|Bring To Front or Send To Back in the
VS.NET menu to change the order that controls dock. If a control is set to
fill, and is filling past other controls, you want to "Bring to front".
 
Back
Top