Re: delete entries in a tableView with the backspace-key on the keyboard
Re: delete entries in a tableView with the backspace-key on the keyboard
- Subject: Re: delete entries in a tableView with the backspace-key on the keyboard
- From: Peter Lübke <email@hidden>
- Date: Sat, 30 Apr 2011 01:36:36 +0200
Am 29.04.2011 um 23:19 schrieb Sean McBride:
See:
<http://lists.apple.com/archives/cocoa-dev/2010/Apr/msg01044.html>
Sean,
is there a special reason why the sample code is working with [event
characters]?
I've merely been doing
if ( [event keyCode] == 51) {
... }
to determine if the backspace key was pressed to delete a table row.
Is this a bad idea? Is the keycode for the backspace key possibly
subject to changes?
- Peter
_______________________________________________
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