OK on Enter, not Return
OK on Enter, not Return
- Subject: OK on Enter, not Return
- From: James Walker <email@hidden>
- Date: Fri, 06 Jun 2008 10:54:50 -0700
I have a dialog containing an NSTextField and an OK button. I'd like
the Enter key to act as an equivalent for the OK button, but the Return
key to add a line break to the text. What's the best way to do that?
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
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