Can I display a modal dialog form with mdiparent?

  • Thread starter Thread starter VM
  • Start date Start date
V

VM

Is it possible to display a form as a modal dialog box where it's is not a
top-level form? If I include it as a top-level form, I won't be able to
access all the MDI children through it (by using this.MdiParent.MdiChildren
from within the form).

Thanks.
 
VM said:
[...] I won't be able to access all the MDI children
through it (by using this.MdiParent.MdiChildren
from within the form).

Well, why not pass a reference to the MDI parent form to the
constructor of the modal form?

P.
 

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