Is it possible ?

  • Thread starter Thread starter Sùawomir Ýurek
  • Start date Start date
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
 
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.
 
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
 
Back
Top