• 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: Talking to FirstResponder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Talking to FirstResponder


  • Subject: Re: Talking to FirstResponder
  • From: Colin Jackson <email@hidden>
  • Date: Sun, 12 Jan 2003 00:11:47 +0000

Excellent. Thank you.

Colin
On Sunday, January 12, 2003, at 12:07 am, Sherm Pendley wrote:

On Saturday, January 11, 2003, at 06:47 PM, Colin Jackson wrote:

Anyway, so here is the problem. I need to perform actions on whatever the FirstResponder is every-so-often. It's easy enough to attach a button to a FirstResponder in IB but how can I call the same set of actions from within the program?

Check out NSApplication's sendAction:to:from: method. If the target is nil, it sends the requested action through the responder chain.

sherm--

UNIX: Where /sbin/init is Job 1.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Talking to FirstResponder (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: Talking to FirstResponder
  • Next by Date: Linker message
  • Previous by thread: Re: Talking to FirstResponder
  • Next by thread: Re: Talking to FirstResponder
  • Index(es):
    • Date
    • Thread