Re: Question
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. |
----------------------------------------------------------------------