I have an application that opens a modal form, FormA. This modal form,
FormA may need to open a second modal form, FormB and close/hide itself.
FormB can either close out and return control to the main window, return to
FormA in an error condition, or open a third modal window FormC.
Any suggestions on how to design this situation?
Thanks,
Dave
Hello David,
>Any suggestions on how to design this situation?
Yes, rethink the whole thing. It sounds like a nightmare, both from an
implementation and from a user perspective.
Oliver Sturm

Signature
http://www.sturmnet.org/blog
> I have an application that opens a modal form, FormA. This modal form,
> FormA may need to open a second modal form, FormB and close/hide itself.
[quoted text clipped - 5 lines]
> Thanks,
> Dave
Have each modal form close when wanting to open a new modal form and
have the main form open any additional form. Either set a variable to
indicate what action to take or use modal results.
Not an elegant solution, but it should allow you to achieve what you
want.
As Oliver says, this could get complicated so you should consider
alternatives.
Oliver Sturm - 15 Feb 2007 20:15 GMT
Hello Matt,
>Not an elegant solution, but it should allow you to achieve what you
>want.
>As Oliver says, this could get complicated so you should consider
>alternatives.
Thanks for elaborating on my admittedly short response :-)
Oliver Sturm

Signature
http://www.sturmnet.org/blog
David W - 16 Feb 2007 18:49 GMT
Thanks,
I rewrote the forms, so now I am dealing with a single form with multiple
panels that show and hide as needed. Its a little more difficult to deal
with in designer, but it works.
>> I have an application that opens a modal form, FormA. This modal form,
>> FormA may need to open a second modal form, FormB and close/hide itself.
[quoted text clipped - 15 lines]
> As Oliver says, this could get complicated so you should consider
> alternatives.
Oliver Sturm - 16 Feb 2007 20:01 GMT
Hello David,
>I rewrote the forms, so now I am dealing with a single form with multiple
>panels that show and hide as needed. Its a little more difficult to deal
>with in designer, but it works.
Good to hear you took those steps. Probably not a perfect architecture
either, but this sounds quite a lot better than your initial suggestion.
Oliver Sturm

Signature
http://www.sturmnet.org/blog