Double-click/Return/Enter in NSTableView
Double-click/Return/Enter in NSTableView
- Subject: Double-click/Return/Enter in NSTableView
- From: James Bucanek <email@hidden>
- Date: Fri, 2 Jun 2006 10:28:11 -0700
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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden