How to open a second form in a MDI scenario

  • Thread starter Thread starter Doru Roman
  • Start date Start date
D

Doru Roman

Hi,

What is the syntax to open a second Form from a menuitem_click event of a
MDI Main Form?

Thanks,
Doru
 
Doru,

You mean another child form? Just create the form and set the MdIParent
property to the parent form. Then call Show, and you should be fine.

Hope this helps.
 
It works with MDIParent but only through code, I was looking under the
properties in the design mode.
It helps when an example is provided.
 

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

Back
Top