• 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
activating Delete menu item through binding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

activating Delete menu item through binding


  • Subject: activating Delete menu item through binding
  • From: Koen van der Drift <email@hidden>
  • Date: Sun, 15 Apr 2012 14:13:56 -0400

My MainMenu.nib has a 'Delete' menu item that is mapped to the Delete key.  I'd like to use that to remove items from my NSTableView that is connected to an NSArrayController.  So in the bindings for the Delete menu item, I set it's availability to myArrayController.canRemove.  However, the Delete menu item remains grayed out.

Is there anything else I need to do to activate the Delete menu item?

Thanks,

- Koen.




_______________________________________________

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

  • Follow-Ups:
    • Re: activating Delete menu item through binding
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Dictionary not returning objects
  • Next by Date: Re: activating Delete menu item through binding
  • Previous by thread: Re: Dictionary not returning objects
  • Next by thread: Re: activating Delete menu item through binding
  • Index(es):
    • Date
    • Thread