Re: "Enter" key down
Re: "Enter" key down
- Subject: Re: "Enter" key down
- From: Aki Inoue <email@hidden>
- Date: Thu, 29 May 2008 10:13:11 -0700
When you want to handle key events in NSTextView, see -
textView:doCommandBySelector: delegate method.
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSTextView_Class/Reference/Reference.html#//apple_ref/occ/instm/NSObject/textView:doCommandBySelector:
Aki
On May 29, 2008, at 6:33 AM, I. Savant wrote:
It must be simple, it has to be simple... But I can't figure out
where to start...
I'm simply trying to catch the "Enter" key down event from a text
view.
Look through the introductory Cocoa material regarding the
"Responder Chain":
http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/CoreAppArchitecture/chapter_7_section_6.html
and
http://developer.apple.com/documentation/Cocoa/Conceptual/EventOverview/EventArchitecture/chapter_2_section_6.html
--
I.S.
_______________________________________________
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
_______________________________________________
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