> >Easy.  Users will often use the application buttons or tap back to
> >the launcher, but there are times when you have:
> >1.  An error situation where you haven't loaded appropriate data.
> >2.  Where you want to make it simpler for beginners who are used to
> >having a big button that says: "Exit".
> >3.  When an expected attached hardware device isn't there (like a
> >modem).
>
> 1 & 3 are ok, but 2 is not.

2 may be against the "Zen" of Palm Programming. But when the guy signing
your paychecks insists on having one, 2 is just fine with me. :)  (And in
the case of a security application, it gives the users a button to press so
they can be sure they have actually exited.)

> As for 1 & 3, I hope you put up a dialog explaining what's wrong
> before you leave.

Now that would be "Zen" in just about any programming paradigm. :)

> General query: can't you fall back to the launcher by just falling
> out of the main event loop?  Or would that mess things up?

Answering your question with a question.. isn't that what posting a Stop
Event to your message queue does? :)

My problem with this thread is those that answer an honest question posted
to this forum with statements like "Why would you want to do that?" or "You
don't want to do that." or my favorite "Don't do that, its stupid and not
the way we do things around here."  Ok, I'm paraphrasing.. Anyway, those
answers are nice and short, but terribly uninformative to the folks asking
the questions.. As someone who has received those answers in the past,
please at least try and explain why instead of the "we know, but we're not
telling you because that's not Zen" answer.




-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to