The easier way to do it is to assign the shortcut to a menu item, wich
invokes your method.  Obviously, when the method is called, you'll have to
check the selected index(es) of the table view by calling -
selectedRowIndexes or -selectedRow.

--Luca C.

2009/2/14 Arun <[email protected]>

> Hi All,
>
> I have a screen in my app which is similar to system preferences -> Network
> -> Ethernet -> Advanced -> 802.1x  screen.
> Where in i have a table and "+" and "-" buttons to add contents into table.
> Also I have few text fields like username,  passwd etc for each entries in
> the table.
> I have assigned a keyboard shortcut key deleting the entries  table.
> So if i am editing in the Username text cell and press delete, instead of
> characters which i typed getting deleted,
> the entry in the table itself getting deleted..
> Any idea on how to disable deletion of table entries from keyboard when i
> am
> editing the text cells and delete only characters in the text cells.
>
> Thanks
> Arun KA
> _______________________________________________
>
> Cocoa-dev mailing list ([email protected])
>
> 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/luca.pazzerello%40gmail.com
>
> This email sent to [email protected]
>
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to