my application have a main form. i have set the isMDIcontainer to true on the form properties. How do i set other forms to child form of the parent.

i need to do this because the other forms start position is CenterParent.
but as it is now when i run the program the other forms start position is not
the parent form centre.

Secondly, how do i disable the parent form when a child form is on display. so that user cannot click on the parent form until the child form is closed.

thanks for your help.


The idea of children windows is so that many windows can be open and manipulated at the same time. If you want the app to halt while the child window is open, you should use a dialog box, not a child window.