• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableView table contets Deletion problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSTableView table contets Deletion problem (From: Arun <email@hidden>)

  • Prev by Date: Re: Where to declare/initialise an NSOperationQueue
  • Next by Date: Re: alloc/release confusion
  • Previous by thread: NSTableView table contets Deletion problem
  • Next by thread: Re: Programatically Uncheck "Change Picture" In Desktop Settings?
  • Index(es):
    • Date
    • Thread