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?!

Re: Layout problem - Mainmenu + toolbar + a "filled" control by Jeff

Jeff
Thu Sep 25 05:48:41 CDT 2003

On Thu, 25 Sep 2003 17:27:54 +0800, "Action" <amuro@hotmail.com>
wrote:

>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.

--
Jeff Gaines Damerham Hampshire UK


Re: Layout problem - Mainmenu + toolbar + a "filled" control by Erik

Erik
Thu Sep 25 12:29:31 CDT 2003

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".

"Action" <amuro@hotmail.com> wrote in message
news:uZrNBd0gDHA.4024@TK2MSFTNGP11.phx.gbl...
> 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?!
>
>