Hello

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.

Tim

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.