Re: Changing the behavior of 'Return' in NSTableView
Re: Changing the behavior of 'Return' in NSTableView
- Subject: Re: Changing the behavior of 'Return' in NSTableView
- From: Matt Neuburg <email@hidden>
- Date: Thu, 12 Jul 2007 09:05:24 -0700
- Thread-topic: Changing the behavior of 'Return' in NSTableView
On Thu, 12 Jul 2007 05:51:52 -0400, Michael Fey <email@hidden>
said:
>I have a simple Core Data app that uses a table to to show the data
>to the user. Adding and subtracting to and from the table are
>controlled by '+' and '-' buttons.
>
>I have code in place such that when the user adds a row to the table
>it automatically begins editing the cell in the first column of the
>new row. However, when the user hits the Return key, I'd like that
>cell to break out of editing mode and keep the current row selected
>instead of the default behavior of moving on to the next row.
Use. The. Archives.
<http://www.cocoabuilder.com/archive/message/cocoa/2005/2/4/127554>
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden