• 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: Enabling menu items...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enabling menu items...


  • Subject: Re: Enabling menu items...
  • From: Quincey Morris <email@hidden>
  • Date: Thu, 17 Dec 2009 12:37:54 -0800

On Dec 17, 2009, at 12:20, Jim Majure wrote:

> I tried your suggestion of changing the action to "myDelete:", but it still doesn't work. Something else responding to the action first seems like a possible problem.
> I added "myDelete:" to the First Responder in IB, then tied the "Delete" menu item to it using click-drag. I changed the name of the action in my custom view to "(IBAction) myDelete: (id) sender".
>
> At the time I attempt to invoke the menu item, my view has received the "becomeFirstResponder" but has not yet received the "resignFirstResponder", so I THINK i'm the firstResponder.

What if you add a brand-new item to the Edit menu, with your 'myDelete:' action? Some of the pre-defined menu items are slightly magical (e.g. the help item and the one to show the color picker window, amongst others).




_______________________________________________

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: 
 >Enabling menu items... (From: Jim Majure <email@hidden>)
 >Re: Enabling menu items... (From: Quincey Morris <email@hidden>)
 >Re: Enabling menu items... (From: Jim Majure <email@hidden>)
 >Re: Enabling menu items... (From: Quincey Morris <email@hidden>)
 >Re: Enabling menu items... (From: Jim Majure <email@hidden>)

  • Prev by Date: Re: narraycontroller sort performance problems
  • Next by Date: Re: understanding the column of a double clicking into a table view
  • Previous by thread: Re: Enabling menu items...
  • Next by thread: Re: Enabling menu items...
  • Index(es):
    • Date
    • Thread