Subject: Re: delete entries in a tableView with the
backspace-key on the keyboard



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 (Cocoa-dev@xxxxxxxxxxxxxxx)

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:
http://lists.apple.com/mailman/options/cocoa-dev/maillists%40codeha.us

This email sent to maillists@xxxxxxxxx

...



Privacy