• 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: Making the correct button the default button?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Making the correct button the default button?
      • From: Jens Bauer <email@hidden>
    • Re: Making the correct button the default button?
      • From: m <email@hidden>
References: 
 >Re:Xcode problem (From: "Ian G. Gillespie" <email@hidden>)
 >Making the correct button the default button? (From: m <email@hidden>)

  • Prev by Date: Nib and Preforce
  • Next by Date: Re: catching uncaught exceptions
  • Previous by thread: Making the correct button the default button?
  • Next by thread: Re: Making the correct button the default button?
  • Index(es):
    • Date
    • Thread