Mitchell,
| Perhaps I'm not explaining myself well enough, 'modal' might not be the
| absolute correct term.
Perhaps. :-|
| I have an MDI child window that, if the user chooses, can click on an
| item in a list to edit it. That edit window is tied to the window that
| opened it, so I don't want the user to be able to go back to that window
| without dismissing the called window first.
What happens if you have two MDI child windows open, one for Item 1 & one
for Item 2.
Are you saying that the user could select some element in the Item 1 form,
and you want to display a Item 1 Child form. Where Item 1 Child is modal in
relation to Item 1, but Modeless in relation to Item 2? In other words the
user could work with either Item 1 Child or Item 2 MDI windows, but not the
Item 1
Basically where you have a hierarichal window structure similar to:
- MDI Parent
- Item 1
- Item 1 Child
- Item 2
There is no built-in support for that as far as I know, right now I cannot
think of a workaround, however with effort (a lot of effort possibly) I
would think a workaround would be possible.
Hope this helps
Jay
| Bob Powell [MVP] wrote:
| > The docs say you can't because it's nonsense in the context of an MDI
| > interface in which all documents are available within the same
application.
| > A modal window is a dialog. Create a form that does what you want and
show
| > it using ShowDialog.
| >
|
| Perhaps I'm not explaining myself well enough, 'modal' might not be the
| absolute correct term.
|
| I have an MDI child window that, if the user chooses, can click on an
| item in a list to edit it. That edit window is tied to the window that
| opened it, so I don't want the user to be able to go back to that window
| without dismissing the called window first.
|
| --
| - Mitchell Vincent
| - kBilling - Invoices Made Easy!
| -
http://www.k-billing.com