>Subject: RE: How can I disable the Home and Calculator buttons? >From: Ralph Krausse <[EMAIL PROTECTED]> >Date: Thu, 26 Oct 2000 08:48:18 -0400
>This code will disable all the keys other than the menu and home. > <<< code sample not copied>>> > There's no way to totally disable the HOME or FIND buttons, except for your program to refuse to exit. You can effectively disable the CALC and the other buttons by 'pointing' them at your application. The problem with the Ralph's sample code is that is only traps the use of the HOME button in the main event loop. Several windows, such as the Alert window, have their own event loop, so that when your application is in one of these, the HOME button isn't trapped. Now you can recode each one of these, but that would be the hard way. The easiest way is to simply prevent your application exiting unless it knows that it should. Now I know that Palm OS (r) zealots will oppose this, but the uncontrollable ability to jump out of the middle of an application is a real pain for some customers. Roger Stringer Marietta Systems, Inc. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
