Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing the behavior of 'Return' in NSTableView



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.