Neil,
Thanks for correcting me - you're right: modal dialogs do ignore the Find
button. However, they don't ignore the Applications, Calculator, or hardware
buttons. These buttons will cause the dialog to close and your app to shut
down. It must be non-modal dialogs that will let the user play activate the
Find button then. In our app, we use a non-modal dialog for a pop-up keypad
so we have maximum screen real-estate available. That was where I had the
pesky problem with the user being able to exit the app by using Find or the
other buttons. Writing my own MyFrmDoDialog was a way to take care of that
problem.
Still though, the user can dismiss various alert messages by tapping the
Applications button.
--
Geoff Shepherd
[EMAIL PROTECTED]
http://www.haytonsystems.com
----- Original Message -----
From: Neil Rhodes <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 16, 1999 8:30 PM
Subject: Re: Possible to disable find?
> >
> > Be aware that you can keep the user from triggering the Find command
from
> > your event loop, but if you use FrmDoDialog you loose control since it
has
> > its own event loop. At least they won't be able to exit the application
if
> > you capture the appStopEvent. Also FrmAlert has its own loop. For
dialogs, I
> > ended up writing my own MyDoDialog function, but I haven't done anything
> > about the alert problem yet since it isn't quite as obnoxious as with
the
> > dialogs.
> >
>
> Not quite true.
> If a modal dialog is up, the system ignores the find chr. Thus, FrmAlert
and
> FrmDoDialog are safe.
>
> > --
> > Geoff Shepherd
> > [EMAIL PROTECTED]
> > http://www.haytonsystems.com
> >
>
> >
> >
>
>
> --
> Neil Rhodes
> Calliope Enterprises, Inc.
> 1328 Clock Avenue
> Redlands, CA 92374
> (909) 793-5995 [EMAIL PROTECTED] fax: (909) 793-2545
>
>