• 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
Do NSSearchFields really send an action up the responder chain when the user clicks the cancel button?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Do NSSearchFields really send an action up the responder chain when the user clicks the cancel button?


  • Subject: Do NSSearchFields really send an action up the responder chain when the user clicks the cancel button?
  • From: Andrew Thompson <email@hidden>
  • Date: Mon, 24 Dec 2007 11:19:27 -0500

According to this page:

http://developer.apple.com/documentation/Cocoa/Conceptual/SearchFields/Articles/ConfiguringTargetAction.html

Search fields also generate a secondary action message, one intended to cancel the current search. When a user clicks the cancel button, the action message is sent up the responder chain to the first object that handles it. This object deletes the contents of the search field and activates the control. It also checks for an empty string value, which indicates that the search should be stopped.


That's nice and all, but is it really true? Do I need to set the action sent up the responder chain? What's the default?



AndyT (lordpixel - the cat who walks through walls) A little bigger on the inside

	(see you later space cowboy, you can't take the sky from me)


_______________________________________________

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: Do NSSearchFields really send an action up the responder chain when the user clicks the cancel button?
      • From: "Ken Ferry" <email@hidden>
  • Prev by Date: Re: Warning different width?
  • Next by Date: Re: printf
  • Previous by thread: Localization Issue
  • Next by thread: Re: Do NSSearchFields really send an action up the responder chain when the user clicks the cancel button?
  • Index(es):
    • Date
    • Thread