Changing the behavior of 'Return' in NSTableView
Changing the behavior of 'Return' in NSTableView
- Subject: Changing the behavior of 'Return' in NSTableView
- From: Michael Fey <email@hidden>
- Date: Thu, 12 Jul 2007 05:51:52 -0400
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.
Regards,
Michael Fey
_______________________________________________
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