• 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
Re: Changing key behaviors for NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing key behaviors for NSTableView


  • Subject: Re: Changing key behaviors for NSTableView
  • From: Corbin Dunn <email@hidden>
  • Date: Mon, 08 Dec 2008 08:48:14 -0800


Le Dec 5, 2008 à 10:12 PM, Steven W Riggins a écrit :

I have written a simple application with a table view.

I want the table to edit a cell when I press return.

I could not find a way to do this other than subclassing and overriding keyDown.

Did I miss a more elegant solution?

This should "just work" on Leopard, if there is only one editable cell available. If there is more than one, you must tab to it.


-corbin_______________________________________________

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


References: 
 >Changing key behaviors for NSTableView (From: Steven W Riggins <email@hidden>)

  • Prev by Date: Re: Shell tool with GUI
  • Next by Date: NSArray represented in 2 different views at same time
  • Previous by thread: Changing key behaviors for NSTableView
  • Next by thread: Re: D.O. [NSPortCoder sendBeforeTime:sendReplyPort:] timed out
  • Index(es):
    • Date
    • Thread