• 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: firstResponder help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: firstResponder help


  • Subject: Re: firstResponder help
  • From: James Mooney <email@hidden>
  • Date: Fri, 28 Mar 2003 14:15:09 -0500

Sending a message to "firstResponder" means sending a message to the responder chain.

Red Light - GREEN LIGHT.........thank you so much......

What are the dark and light actions is the list designate..... why is one dark and one light.

In the example I mention, calls newDocument: but it is light colored. ?? What is the difference.

On Friday, March 28, 2003, at 02:01 PM, John Hvrnkvist wrote:

First Responder is just a "proxy", not a real object. It's a representation of the responder chain in Interface Builder.

Sending a message to "firstResponder" means sending a message to the responder chain. The message will be sent to the first object in the chain which implements the method.

Typically that means something like View -> .... -> Window -> Application

Programatically, setting a target to first responder is done by setting the target to nil; eg [menuItem setTarget:nil].

Look at:
initialFirstResponder
setInitialFirstResponder:
nextResponder
resignFirstResponder
becomeFirstResponder
...


Regards,
John Hornkvist
_______________________________________________
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.

  • Prev by Date: Re: Is there a ready chart plotting view?
  • Next by Date: CURRENT_PROJECT_VERSION
  • Previous by thread: firstResponder help
  • Next by thread: Re: firstResponder help
  • Index(es):
    • Date
    • Thread