• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question


  • Subject: Re: Question
  • From: Michelle Steiner <email@hidden>
  • Date: Mon, 4 Dec 2000 12:17:51 -0800

On 12/4/00 12:11 PM, Chris Nebel <email@hidden> wrote

>> when you cancel the dialog, you're presented with the dialog again.
>
>That's neither unexpected nor a side effect. Canceling a dialog has the same
>effect as calling "error number -128." So your first "invalid" dialog
>displays, you hit cancel, it throws error -128, which your "on error" block
>catches and then displays the same dialog again. Being able to catch dialog
>cancellations is a feature, not a bug. To get the dialog only once, you
>might change the first call to "error" instead.

I understand why it happens, Chris, but didn't until after I tested the
code and found it happening. Even though it performs as designed, it
doesn't perform as intended (which means poor design)--that's why I
called it a side effect.

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | Hard as it may be to believe, my |
| email@hidden | life has been based on a true story. |
----------------------------------------------------------------------


  • Prev by Date: Re: Question
  • Next by Date: Re: FindFile (answered)
  • Previous by thread: Re: Question
  • Next by thread: Sending a message via Program Linking
  • Index(es):
    • Date
    • Thread