Skip navigation.
 
mlRe: NSTableView : editable cells & return key
FROM : Manfred Lippert
DATE : Fri Jan 18 19:14:32 2002

>> However, when a user presses the return key, the edit field moves to the next
>> row, which is not the behavior a Mac user expects from most applications.
>> (the row should remain selected, not select the next row and start editing
>> it).


> Anyway, here's what I use.  (I admit that I can't remember if this was the
> "best" way or not.)  Subclass NSTableView and override this method:
> [...]


Thanks, I had the same problem, and your answer helped.

But I have another question:
Is there also a way to _start_ editing when the user hits the return key?

Regards,
Mani


Related mailsAuthorDate
mlNSTableView : editable cells & return key Bruno Blondeau Jan 17, 00:36
mlRe: NSTableView : editable cells & return key Kurt Revis Jan 17, 00:51
mlNSTableView font weirdness Dustin Mierau Jan 17, 01:56
mlRe: NSTableView : editable cells & return key Manfred Lippert Jan 18, 19:14