C
cassidyc
Hi,
I was wondering if anyone has come accross this issue? And if they have
any solutions
I have that can create new copies of itself
Form1 as = new form1();
af.show();
This form can also bring up a modal dialog (MessageBox)
My problem is that if I bring up the modal dialog from the initial
form. All the forms are inaccessible, the dialog is modal afterall,
which is the desired action
However if I bring the messagebox up from any of the other forms
created from the initial, then all the "child" forms are inaccessible,
but I do have access to the top level form.
It gets wierder, children of the child forms will have the same effect
on all but the initial window
Diagramatically:
X <- initial window
/ \
Y Y
/ \
Z Z
If I bring up a modal dialog from X, I cannot access any forms, X, Y or
Z.
If I bring up a modal dialog from Y, I cannot access Y or Z, but I can
access X.
If I bring up a modal dialog from Z, I cannot access Y or Z, but I can
access X
Is there anyway to make the "child" modal dialogs make the whole
application modal and not just all the child forms?
Thanks
CJC
I was wondering if anyone has come accross this issue? And if they have
any solutions
I have that can create new copies of itself
Form1 as = new form1();
af.show();
This form can also bring up a modal dialog (MessageBox)
My problem is that if I bring up the modal dialog from the initial
form. All the forms are inaccessible, the dialog is modal afterall,
which is the desired action
However if I bring the messagebox up from any of the other forms
created from the initial, then all the "child" forms are inaccessible,
but I do have access to the top level form.
It gets wierder, children of the child forms will have the same effect
on all but the initial window
Diagramatically:
X <- initial window
/ \
Y Y
/ \
Z Z
If I bring up a modal dialog from X, I cannot access any forms, X, Y or
Z.
If I bring up a modal dialog from Y, I cannot access Y or Z, but I can
access X.
If I bring up a modal dialog from Z, I cannot access Y or Z, but I can
access X
Is there anyway to make the "child" modal dialogs make the whole
application modal and not just all the child forms?
Thanks
CJC