• 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: "Laurent Daudelin" <email@hidden>
  • Date: Tue, 10 Feb 2004 13:53:22 -0500

On 10/02/04 13:10, "email@hidden" <email@hidden> wrote:

> On Feb 10, 2004, at 2:36 AM, Phillip Hutchings wrote:
>
>>> Not everything can be generalized; just one sentence will explain what
>>> I mean...
>>> "Do you really want to erase all your harddisks?" [ Cancel ][ OK ]
>>
>> I would contend that this situation calls for no default button.
>
> On Feb 10, 2004, at 2:15 AM, Andreas Mayer wrote:
>
>> I can't see what's wrong with _no_ default button in this case.
>
> Ok guys, just to get this discussion focused back on solutions, note
> that NSRunAlertPanel() and its friends don't appear to allow your
> preferred solution (no default button is the default) either.

Well, then, you can always build your own dialog and run it using
runModalForWindow:

-Laurent.
--
========================================================================
Laurent Daudelin Developer, Multifamily, ESO, Fannie Mae
mailto:email@hidden Washington, DC, USA
************************ Usual disclaimers apply ***********************
_______________________________________________
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.

References: 
 >Re: Making the correct button the default button? (From: m <email@hidden>)

  • Prev by Date: Subclassing in IB and init methods
  • Next by Date: Re: variadic variable argument list in #define
  • Previous by thread: Re: Making the correct button the default button?
  • Next by thread: Re: Making the correct button the default button?
  • Index(es):
    • Date
    • Thread