Ok, given that ... please define what "exit" means in
the context of PalmOS. There are two equally reasonable
interpretations:
1) go to the previously running application
2) go to the launcher
Either way, there is no "exit" per se, but rather you
are starting something else. So choose which something
else you want to start. The easiest by far is the
launcher. Ok ... so now we've determined that "exit"
is the same as "start the launcher". There is already
a button on the interface that does that! What is the
point in creating special code and wasting screen space
in the application to duplicate this functionality?
And to address your situation, if you need to secure this
capability based upon who is "logged on", you can still do
this by disabling the applications button....you'd have
to be doing that anyway, right? Otherwise your app wouldn't
be secure. So rather than disable the applications button
for everybody and adding another button when the right person
is logged in -- just reenable the applications button when
the right person is logged in.
Am I missing something? Is there anything you see in the
concept of "exiting" (in the Palm environment) that I have
not covered? If you could sufficiently define what you mean
by "exit" (as opposed to what everybody else says: there is
no exit, there is only starting something else) perhaps we
could understand things better. But reiterating that "I
need 'exit'" isn't enough -- please try to explain what
"exit" means to you.
--
-Richard M. Hartman
[EMAIL PROTECTED]
186,000 mi./sec ... not just a good idea, it's the LAW!
> -----Original Message-----
> From: Charles Rezsonya [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 06, 2000 5:27 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Ending an application
>
>
> this is one of the flaws i think of the forum where other
> programmers are
> not providing a solution for someone elses program but
> telling them how to
> program. i have had 2 applications where i can not have an
> exit just by
> tapping on another button or program. i h ad to control it
> with an "EXIT"
> button and access to that was dependant on who was logged in the
> application,.... so yah, exit buttons are viable and the
> question to why he
> wants it is his concern, not ours,
>
> -----Original Message-----
> From: Brian Mathis <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Wednesday, January 05, 2000 9:04 PM
> Subject: Re: Ending an application
>
>
> >Ralph Krausse wrote:
> >>
> >> How. I want to click on a button and exit my application.
> How can I do
> this?
> >>
> >> thanks
> >> Ralph Krausse
> >
> >Here we go again... :)
> >
> >Palm apps never get "exited" by the user. Only when another
> application
> >gets started, does the current app exit. When the user
> wants to exit,
> >they tap the launcher button (the little house). You should
> not have an
> >"exit" button.
> >
> >--
> >Brian Mathis
> >Direct Edge
> >http://www.directedge.com
> >
>
>