Re: Making the correct button the default button?
Re: Making the correct button the default button?
- Subject: Re: Making the correct button the default button?
- From: Phillip Hutchings <email@hidden>
- Date: Tue, 10 Feb 2004 20:02:21 +1300
Read the Apple HIG. Having cancel as the default button is STRONGLY
discouraged - it breaks what users expect. Even emptying the trash in
the Finder has 'OK' as the default button.
If you don't want the right-most button to be default, make no button
the default.
Also, don't post a new message by replying to an old one - use the
'new' option in your email client - it messes threads up :)
On 10/02/2004, at 7:28 PM, m wrote:
>
In NSRunAlertPanel() and its relatives, it appears to be impossible to
>
control which button is the default button, i.e. the design of
>
NSRunAlertPanel() et al appears to assume that the default button is
>
always the right most button. Or am I missing something?
>
>
For example, I'd like to be able to have this layout with the Cancel
>
button as the default.
>
>
Do you really want to end it all?
>
>
(Don't End) (Cancel) (End It)
--
Phillip Hutchings
email@hidden
http://www.sitharus.com/
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.