Possible Duplicate:
How can I make a form that is not disabled when another form is shown modally?
Suppose I have an application with three forms: a main form that leads the user through a workflow, wizard style; a modal window that shows occasionally in certain steps of the wizard; and a third "information" window, which could show at any time, independent of where in the workflow the user is.
How do I make the modal window grab focus away from the main form, but keep the info window usable and responsive at all times?
Using the most obvious InfoFrame.Create(nil).Show
from the main frame leaves the info window unusable when the modal form is showing.
Curiously, if I create and show the info window from the modal window, it will be responsive in the desired way, and it persists after the modal window is dismissed. When the modal window is shown again, though, the info window is forced into the background and becomes unresponsive.
How do I make the info windows remain usable at all times, even when another form's ShowModal
procedure has been called?
In the actual application I'm working on, there are actually tens of modal forms from about a dozen 'workflow' main windows (many of them are also modal), but only one info window (of which multiple instances may be shown), I'd prefer not to have to change every call to ShowModal to something else, although I'm not averse to wrapping or subclassing the call if that's the only option.