Do NSSearchFields really send an action up the responder chain when the user clicks the cancel button?
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