Is it possible ?

S

Sùawomir Ýurek

Hi,
I have MDI Application with few mdi child forms opened - for example
customers, products and invoice list. Each one can open specific form
to add/edit objects. Is this possible to open form like ShowDialog
does, but blocking input not on whole application, but only on parent/
owner mdi child?
Example (what I want):
Let assume, that I clicked "Add new customer" on customers list form,
and new customer form is opened - now:
- i want to activate invoice list, do some work, and go back to
customers list (with add customer form opened)
- customers list should wait until "add customer" form is closed,
and not respond to user input;

I need somhing working like ShowDialog, but for parent form only, not
for entire application


Thanks in advance
Slawek
 
J

Jeff Johnson

I have MDI Application with few mdi child forms opened - for example
customers, products and invoice list. Each one can open specific form
to add/edit objects. Is this possible to open form like ShowDialog
does, but blocking input not on whole application, but only on parent/
owner mdi child?
Example (what I want):
Let assume, that I clicked "Add new customer" on customers list form,
and new customer form is opened - now:
- i want to activate invoice list, do some work, and go back to
customers list (with add customer form opened)
- customers list should wait until "add customer" form is closed,
and not respond to user input;

I need somhing working like ShowDialog, but for parent form only, not
for entire application

No, this isn't really possible. I would recommend that you simply have your
MDI child hide all its "normal" controls and display the "add" controls. You
could put each set of controls into a panel and just hide and show the
panels as necessary.
 
S

Sùawomir Ýurek

No, this isn't really possible. I would recommend that you simply have your
MDI child hide all its "normal" controls and display the "add" controls. You
could put each set of controls into a panel and just hide and show the
panels as necessary.

Thank You for fast answer.
S³awek
 

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