Re: How to get a message when RETURN is pressed in a NSTextField
Re: How to get a message when RETURN is pressed in a NSTextField
- Subject: Re: How to get a message when RETURN is pressed in a NSTextField
- From: "Patrick Burleson" <email@hidden>
- Date: Thu, 26 Jun 2008 17:53:56 -0500
On Tue, Jun 24, 2008 at 1:41 AM, Markus Spoettl
<email@hidden> wrote:
> Hi Kenny,
>
> Thanks for your suggestion. Unfortunately that doesn't work because I cannot
> differentiate between the multiple possibilities of what makes the action
> fire. The NSTextField action is sent not only for pressing enter but also
> when the control looses firstResponder status.
If I remember correctly, in IB you can set a NSTextField to only fire
its action on "Enter" It's on the Info panel in the inspector for a
NSTextField.
Maybe that will get it where you want?
Patrick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden