amacd
Thu May 11 12:19:12 CDT 2006
Otis Mukinfus wrote:
> On 10 May 2006 13:27:44 -0700, amacd@hotmail.com wrote:
>
> >>From my main form, I can open and access a modeless form. However, if I
> >then open a modal form (from the main form), the modeless form will no
> >longer accept keyboard and mouse input until the modal form is closed.
> >
> >Is there a way to allow the modeless form to continue to receive input?
> >
> >As an example, Windows Notepad does this. If you open the Find dialog,
> >then open the About box, you can still access the Find dialog.
> >
> >Any pointers appreciated.
> >
> >Thanks,
> >Andrew
>
> It works in Notepad because both forms are Modeless. A form can look like a
> dialog without being Modeless. Set your Model from to Modeless and set the
> FormBorderStyle to FixedDialog and open it with Show, instead of ShowDialog.
I tried your suggestion, but the (previously modal) form operates like
a normal modeless form with those changes. That is, I can still access
the main form.
That isn't the case with Notepad, which prevents access to the main
window when the About Box is open.
As another example, the "Find" window is also still accessible when the
(apparently) modal "File Open" message box is open.
Andrew
>
> Good luck with your project,
>
> Otis Mukinfus
>
http://www.arltex.com
>
http://www.tomchilders.com