• 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
How to force NSTableView to stop editing a text cell?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to force NSTableView to stop editing a text cell?


  • Subject: How to force NSTableView to stop editing a text cell?
  • From: Graham Cox <email@hidden>
  • Date: Wed, 9 Apr 2008 22:51:57 +1000

How can I force a text cell in NSTableView to stop editing? On 10.4 I could just tell the view's window to make the entire table the first responder and that did the trick, but on 10.5 this no longer works.

I'm trying to do this from within the textDidEndEditing: notification method so that I can suppress the table behaviour that goes to the next row and starts editing there - I just want the text to end editing on typing return and the table view to go back to its previous state - same row selected but no text being edited.


------ S.O.S. _______________________________________________

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: How to force NSTableView to stop editing a text cell?
      • From: Corbin Dunn <email@hidden>
    • Re: How to force NSTableView to stop editing a text cell?
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: Core Animation layer-backed NSViews and mouse handling
  • Next by Date: Re: Beginner TableView Questions
  • Previous by thread: componentsToDisplayForPath (running as root)
  • Next by thread: Re: How to force NSTableView to stop editing a text cell?
  • Index(es):
    • Date
    • Thread