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@lists.apple.com)

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to