Re: NSTableView + delete button?
Re: NSTableView + delete button?
- Subject: Re: NSTableView + delete button?
- From: j o a r <email@hidden>
- Date: Tue, 11 Mar 2008 15:12:00 -0700
On Mar 11, 2008, at 3:03 PM, Kevin Dixon wrote:
I'm using an NSTableView, and I want to be able to remove items from
the
list by pressing the delete key on the keyboard. What is the
procedure to
receive a message when a key is pressed and the table view has focus?
Subclass NSTableView and override "-keyDown:". There should be several
implementations of this online that you could take a look at.
j o a r
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden