• 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
Any way to make tab take cell in NSTableView out of edit mode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Any way to make tab take cell in NSTableView out of edit mode?


  • Subject: Any way to make tab take cell in NSTableView out of edit mode?
  • From: cricket <email@hidden>
  • Date: Tue, 29 Jul 2003 16:34:53 -0700

Short of subclassing NSTableView, does anyone know a way to make it so that when a user edits a cell in an NSTableView and then hits tab (or enter/return), it 'accepts' the edit, and takes the cell out of edit mode? Preferably, I'd like to accept the edit and make the OK button the new first responder. I've played around with all the delegate methods in NSTableView, but the best I can get is to prohibit tab from advancing to the next cell in the tableview.

Presumably, I could subclass NSTableView, override keyDown:, and do what I want if the user hits tab while editing a cell, but I feel like I'm missing something obvious.

- c
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Any way to make tab take cell in NSTableView out of edit mode?
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Cron Job Utility or GUI for Mac OS X?
  • Next by Date: Re: scanf prob in PB run window
  • Previous by thread: Re: Cron Job Utility or GUI for Mac OS X?
  • Next by thread: Re: Any way to make tab take cell in NSTableView out of edit mode?
  • Index(es):
    • Date
    • Thread