MDI question

A

AMP

Hello,
I have form with a few controls.I open a child form with one of the
buttons and the child form is contained in the parent,BUT, it is behind
the other controls on the parent.So when I move it around on the
parent, the parents buttons,lables...hide that portion on the child.
Seems simple enough:
Form thisOptions = new Options();
thisOptions.MdiParent = this;
thisOptions.Show();
Any help would be appreciated.
Thanks
Mike
 
L

Leon Friesema

Hello,
I have form with a few controls.I open a child form with one of the
buttons and the child form is contained in the parent,BUT, it is behind
the other controls on the parent.So when I move it around on the
parent, the parents buttons,lables...hide that portion on the child.
Seems simple enough:
Form thisOptions = new Options();
thisOptions.MdiParent = this;
thisOptions.Show();
Any help would be appreciated.
Thanks
Mike

Mike,

you could place a docked panel onto the Main form, in that case the
child will occupy the remainder part of the window

Leon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top