Re: previousResponder?
Re: previousResponder?
- Subject: Re: previousResponder?
- From: Matt Neuburg <email@hidden>
- Date: Fri, 05 Jan 2007 12:58:21 -0800
- Thread-topic: previousResponder?
On Fri, 5 Jan 2007 20:21:28 +0100, Sal?nki Benj?min <email@hidden>
said:
>Hi there, I'm looking for a way to determine basically the opposite
>of nextResponder, i.e. what the responder would be if i hit shift-tab.
>Is there a way to do this?
You're just confused. Tabbing has nothing to do with the responder chain. It
involves a convention where the window moves the focus to the next key view.
And guess what, NSWindow has nextKeyView and previousKeyView methods. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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