• 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: Adam Thayer <email@hidden>
  • Date: Tue, 27 Aug 2002 06:44:53 -0700

On 2002-08-27 14:28:46 +0100 Jeremy Dronfield <email@hidden> wrote:

The only thing you need to connect in IB is your button to its action method. If you find this doesn't work, and that your button event is being 'eaten', then something somewhere is preventing your sheet becoming modal. In that case, search elsewhere in your code for the cause.
-Jeremy

But he wants to be able to hit 'return' and close the sheet, and it isn't happening... so what if he hooks up the button? It still won't have it react to the return button ;)

I personally think he just forgot to make sure there were no modifiers set when he setup the button to accept the return key... but I can't see the IB windows *grin*
_______________________________________________
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: 
 >Re: Why would sheet's default button not respond to return key? (From: Jeremy Dronfield <email@hidden>)

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