• 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: Getting the context of a context menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the context of a context menu


  • Subject: Re: Getting the context of a context menu
  • From: Johan Kool <email@hidden>
  • Date: Fri, 13 Apr 2007 01:09:16 +0200

Nicko,

Shouldn't this be done as follows?
- set the menuitem's target to the first responder
- implement the action method somewhere in the responder chain, in this case the view that uses the contextual menu


Johan
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Getting the context of a context menu
      • From: Nicko van Someren <email@hidden>
References: 
 >Getting the context of a context menu (From: Nicko van Someren <email@hidden>)
 >Re: Getting the context of a context menu (From: Carmin Politano <email@hidden>)
 >Re: Getting the context of a context menu (From: Nicko van Someren <email@hidden>)
 >Re: Getting the context of a context menu (From: Carmin Politano <email@hidden>)
 >Re: Getting the context of a context menu (From: Andy Lee <email@hidden>)

  • Prev by Date: ScriptEditor thinks my command is a variable
  • Next by Date: Re: hey, who's enabling my window's close button?
  • Previous by thread: Re: Getting the context of a context menu
  • Next by thread: Re: Getting the context of a context menu
  • Index(es):
    • Date
    • Thread