• 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: Sherm Pendley <email@hidden>
  • Date: Sat, 11 Jan 2003 19:07:15 -0500

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.

  • Follow-Ups:
    • Re: Talking to FirstResponder
      • From: Colin Jackson <email@hidden>
References: 
 >Talking to FirstResponder (From: Colin Jackson <email@hidden>)

  • Prev by Date: Getting images from RTF
  • Next by Date: Re: Talking to FirstResponder
  • Previous by thread: Talking to FirstResponder
  • Next by thread: Re: Talking to FirstResponder
  • Index(es):
    • Date
    • Thread