• 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: Bill Appleton <email@hidden>
  • Date: Tue, 26 Jul 2011 10:30:43 -0700

hi all

i set the target and the action on my menu items -- this is so that i can
get my handler called when someone selects a menu item
i will re-read the event handler docs with regard to menu items (no keyboard
issues) and see if that helps


thx

bill



On Tue, Jul 26, 2011 at 10:02 AM, Joar Wingfors <email@hidden> wrote:

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

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