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: 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.