Re: NSTableView table contets Deletion problem
Re: NSTableView table contets Deletion problem
- Subject: Re: NSTableView table contets Deletion problem
- From: Luca Pazzerello <email@hidden>
- Date: Sat, 14 Feb 2009 19:46:16 +0100
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@hidden>
> 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@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
>
_______________________________________________
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