Re: [Newbie question] Detecting enter pressed on non-editable outlineview?
Re: [Newbie question] Detecting enter pressed on non-editable outlineview?
- Subject: Re: [Newbie question] Detecting enter pressed on non-editable outlineview?
- From: John Anderson <email@hidden>
- Date: Fri, 4 Oct 2002 23:32:44 -0700
I needed to do this as well; subclass NSOutlineView and catch the
keyDown event there (see the documentation for NSResponder for the
exact syntax). Import the header file for your subclass into Interface
Builder, and set the custom class for your outline view to your new
subclass.
John
On Friday, October 4, 2002, at 10:01 PM, Keith Pritchard wrote:
Hi,
I have an outlineview which I've set to non-editable....
I catch a single click -> cellclick;
doubleaction (double click) -> doubleclick;
When I'm using the cursor keys to go up and down the table selecting
items, I want to be able to press enter and catch that event.. at the
moment it just goes BEEP....
Any help appreciated...
Thanks!
Keith
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.