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
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 mails | Author | Date |
|---|---|---|
| James Bucanek | Jun 2, 19:28 | |
| Nick Zitzmann | Jun 2, 20:06 | |
| James Bucanek | Jun 2, 20:51 | |
| Brian Stern | Jun 2, 20:54 |






Cocoa mail archive

