• 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: Dialog Command Keys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dialog Command Keys


  • Subject: Re: Dialog Command Keys
  • From: Joar Wingfors <email@hidden>
  • Date: Tue, 26 Jul 2011 10:02:04 -0700

On 26 jul 2011, at 09:43, Raleigh Ledet wrote:

>> Well, when the dialog field has selected text and i type command-x my menu
>> item's action handler is NOT invoked, because there is a modal dialog up I
>> guess.
>
> Wait! Are you saying that you modified the default target/action setup of the Cut menu in your main nib file? If so, that would explain everything.


What Raleigh means is that the out-of-the-box behavior that we've been harping about here depends on these menu items being set up in the default way - with the default target (nil) and default actions. If you have configured them to have different targets / actions, then all bets are off. And again, that would imply that Kyle's suggestion to read up on Cocoa Event Handling would be in order.

j o a r


_______________________________________________

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: Dialog Command Keys
      • From: Bill Appleton <email@hidden>
References: 
 >Dialog Command Keys (From: Bill Appleton <email@hidden>)
 >Re: Dialog Command Keys (From: Kyle Sluder <email@hidden>)
 >Re: Dialog Command Keys (From: Bill Appleton <email@hidden>)
 >Re: Dialog Command Keys (From: Kyle Sluder <email@hidden>)
 >Re: Dialog Command Keys (From: Bill Appleton <email@hidden>)
 >Re: Dialog Command Keys (From: Joar Wingfors <email@hidden>)
 >Re: Dialog Command Keys (From: Bill Appleton <email@hidden>)
 >Re: Dialog Command Keys (From: Joar Wingfors <email@hidden>)
 >Re: Dialog Command Keys (From: Bill Appleton <email@hidden>)
 >Re: Dialog Command Keys (From: Raleigh Ledet <email@hidden>)

  • Prev by Date: Re: Dialog Command Keys
  • Next by Date: Re: NSTask oddity with getting stdout
  • Previous by thread: Re: Dialog Command Keys
  • Next by thread: Re: Dialog Command Keys
  • Index(es):
    • Date
    • Thread