• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Changing the behavior of 'Return' in NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Changing the behavior of 'Return' in NSTableView
      • From: John Shockey <email@hidden>
  • Prev by Date: Re: Cross-platform toolkit with a Cocoa backend
  • Next by Date: Re: Core Data and Document Packages
  • Previous by thread: Re: Licensing question (off-topic)
  • Next by thread: Re: Changing the behavior of 'Return' in NSTableView
  • Index(es):
    • Date
    • Thread