Any way to make tab take cell in NSTableView out of edit mode?
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.