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