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 (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com