Re: Why would sheet's default button not respond to return key?
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.