• 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: Why would sheet's default button not respond to return key?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why would sheet's default button not respond to return key?


  • Subject: Re: Why would sheet's default button not respond to return key?
  • From: Dustin Voss <email@hidden>
  • Date: Mon, 26 Aug 2002 21:11:49 -0700

On Monday, August 26, 2002, at 12:33 PM, Dan Wood wrote:

I'm bringing up a sheet from my window, and that sheet has an "OK"
button with a key equivalent of the return key that is supposed to
dismiss the button. The button is throbbing blue, but the return key
doesn't activate the sheet.

I assume you mean the default button should dismiss the sheet, not activate the sheet.

Well, I have the same problem in the sheets that I make. I get around it by explicitly connecting that button to the performClose: method of the sheet, in IB. Note, connecting it the the first responder doesn't seem to do the trick.

--
Dustin
_______________________________________________
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: Why would sheet's default button not respond to return key?
      • From: Dan Wood <email@hidden>
References: 
 >Why would sheet's default button not respond to return key? (From: Dan Wood <email@hidden>)

  • Prev by Date: NSThread/Pthreads
  • Next by Date: Re: Decimal Rounding...
  • Previous by thread: Re: Why would sheet's default button not respond to return key?
  • Next by thread: Re: Why would sheet's default button not respond to return key?
  • Index(es):
    • Date
    • Thread