Re: return key and outline view
Re: return key and outline view
- Subject: Re: return key and outline view
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 1 Aug 2003 21:07:57 -0700
On Friday, August 1, 2003, at 04:47 PM, Brent Gulanowski wrote:
Is there a way to change the behaviour of outline views wrt: the
return key? The default behaviour is to proceed to the next cell down,
but I just want to to accept the input and then highlight the current
row. How can I do that?
Subclass NSOutlineView and override the -keyDown: method to watch for
the Return key being pressed. If some key other than Return is pressed,
then pass the event to -keyDown: in the superclass.
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://seiryu.home.comcast.net/
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my
telephone." - Bjarne Stroustrup
_______________________________________________
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.