FROM : Aki Inoue
DATE : Thu May 29 19:13:11 2008
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_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
DATE : Thu May 29 19:13:11 2008
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_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Micha Fuhrmann | May 29, 14:03 | |
| I. Savant | May 29, 15:33 | |
| Aki Inoue | May 29, 19:13 | |
| Douglas Davidson | May 29, 19:22 | |
| I. Savant | May 29, 19:27 |






Cocoa mail archive

