Re: return key and outline view
Re: return key and outline view
- Subject: Re: return key and outline view
- From: "M. Uli Kusterer" <email@hidden>
- Date: Sat, 2 Aug 2003 13:45:46 +0200
At 19:47 Uhr -0400 01.08.2003, 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?
I think you need to subclass NSTableView and override keyDown:,
check for the return key and in that case just call endEditing:... to
close the field editor, while for any other key calling through to
the superclass.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.