Re: bug or feature?
Re: bug or feature?
- Subject: Re: bug or feature?
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 24 Dec 2001 13:07:23 -0800
On 12/24/01 12:48 PM, I wrote:
>
On 12/24/01 12:34 PM, "Deivy Petrescu" <email@hidden> wrote:
>
>
> I disagree with you here, Paul. It states on the dictionary "cancel
>
> button name". You can call it whatever you want, but if you do not do
>
> anything to trap the press button it should default to the usual cancel,
>
> shouldn't it?
>
>
No, not at all. It's a way of giving you more options. See my last
>
Christmas message. You can set the 'cancel button name' to anything at all
>
, and then it's not a cancel button. It's a Help button or a More Choices
>
button or a Go To Webpage button or whatever you want to make it. The user
>
will just see what you name it - it won't be Cancel any more. Of course,
>
hardly any one ever uses it that way, because generally you want to offer
>
Cancel. But you can - it's a feature.
Let me give a better example, because in many cases the "Other Choices"
could just be added to the list as another choice - there's no particular
virtue in making it a button instead.
Right at this moment, I'm using 'choose from list' to replicate my Entourage
email folder list, complete with indentations for subfolders similar to the
Folder List in the main Entourage window, so that the user can find a folder
to choose easily. (Similar to Outlook Express.) Adding extra lines in the
list would mess up this scheme. But I want to give the user the option to
make a New Folder instead of choosing an existing one. So I've made the
cancel button into a New button, as in Entourage's own Move window, or as in
the 'choose folder' osax. It calls another handler if pressed (if result is
false). Of course, I'd really like to have a cancel button as well, so I'll
probably have to make it into a 'New or Cancel' button. Crummy workaround.
Soon I'll move over to AppleScript Studio so I can do this properly. But for
now, 'cancel button name' with 'false' returned gives me this option I
wouldn't otherwise have.
--
Paul Berkowitz