Skip navigation.
 
mlDouble-click/Return/Enter in NSTableView
FROM : James Bucanek
DATE : Fri Jun 02 19:28:11 2006

Hopefully, this will be easier to answer than my last question (and contain fewer typographical errors too).

I have an NSTableView displaying a list of records. I want the user to be able to edit a record in a separate window by double-clicking on a row or selecting one or more rows and pressing Return or Enter. Also, the should be able to delete a record by selecting it and using Edit > Clear or the Delete key.

Is there some functionality in NSTableView/NSControl that will do this, or do I just override mouseDown: and keyDown: and look for the events I'm interested in?

--
James Bucanek

Related mailsAuthorDate
mlDouble-click/Return/Enter in NSTableView James Bucanek Jun 2, 19:28
mlRe: Double-click/Return/Enter in NSTableView Nick Zitzmann Jun 2, 20:06
mlRe: Double-click/Return/Enter in NSTableView James Bucanek Jun 2, 20:51
mlRe: Double-click/Return/Enter in NSTableView Brian Stern Jun 2, 20:54