Skip navigation.
 
mlRe: "Enter" key down
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>

Related mailsAuthorDate
ml"Enter" key down Micha Fuhrmann May 29, 14:03
mlRe: "Enter" key down I. Savant May 29, 15:33
mlRe: "Enter" key down Aki Inoue May 29, 19:13
mlRe: "Enter" key down Douglas Davidson May 29, 19:22
mlRe: "Enter" key down I. Savant May 29, 19:27