Hello!
I have a main form, in which there is a Menu (main Menu, at top), Toolbar
(below Main menu), ListView (left, below toolbar), a statusbar and a child
form with DataGrid on it appears every time when click on items of listview
respectively.
Problems:
I need to dock the ListView below toolbar and on the left part of main form
above the status bar.
The child form below tool bar and next to the listview and lengthens to the
right boder of main form and above statusbar.
so, How can i do it programmatically?
Thanks for all your help!

Re: Docking control help! by Sijin

Sijin
Tue Nov 09 03:20:46 CST 2004

Add the controls in the following order with the given dockstyle

Control DockStyle

Menu Top
Toolbar Top
StatusBar Bottom
ListView Left
Childform Fill

Sijin Joseph
http://www.indiangeek.net
http://weblogs.asp.net/sjoseph

Alex wrote:
> Hello!
> I have a main form, in which there is a Menu (main Menu, at top), Toolbar
> (below Main menu), ListView (left, below toolbar), a statusbar and a child
> form with DataGrid on it appears every time when click on items of listview
> respectively.
> Problems:
> I need to dock the ListView below toolbar and on the left part of main form
> above the status bar.
> The child form below tool bar and next to the listview and lengthens to the
> right boder of main form and above statusbar.
> so, How can i do it programmatically?
> Thanks for all your help!
>
>