> From: Michael Twohey
>
> How could I exit my application just as if I had pressed the "Home" key?
> Thank you for your help. My Palm OS bible has failed me.
>
According to the guidelines for Palm apps, your app is never supposed to
cause itself to exit. The OS sends an appStopEvent when the user switches
to another app, and you respond to that by exiting your event loop, closing
databases, freeing allocated memory, closing open forms, and exiting your
program. If you really have to exit some other time, then enqueue a
vchrLaunch to simulate pressing the "Home" key.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/