Re: Form that is already displayed modally cannot be displayed as a modal dialog box. Close the form before calling showDialog.
- From: Jon Shemitz <jon@xxxxxxxxxxxxxxxxx>
- Date: Tue, 26 Sep 2006 22:27:22 -0700
Jared wrote:
How can I even show same form twice if modal forces stop of execution.
Easily. Foo is shown modally, but has a button that creates a new Foo
and tries to show it modally. (Note that you can do this, if you use
Show, instead of ShowDialog.)
Poor error, Microsoft.
Error is .
Form that is already displayed modally cannot be displayed as a modal dialog
box. Close the form before calling showDialog.
What do you think it should say?
--
..NET 2.0 for Delphi Programmers www.midnightbeach.com/.net
Delphi skills make .NET easy to learn Great reviews & good sales.
.
- References:
- Prev by Date: Form that is already displayed modally cannot be displayed as a modal dialog box. Close the form before calling showDialog.
- Next by Date: Re: Error when I try to open cdrom programmatically
- Previous by thread: Form that is already displayed modally cannot be displayed as a modal dialog box. Close the form before calling showDialog.
- Next by thread: Re: Form that is already displayed modally cannot be displayed as a modal dialog box. Close the form before calling showDialog.
- Index(es):