Re: previousResponder?
Re: previousResponder?
- Subject: Re: previousResponder?
- From: Salánki Benjámin <email@hidden>
- Date: Fri, 5 Jan 2007 22:04:36 +0100
Yes, but here's what's happening if I use previousKeyView: nothing.
I have a table in a split view which is inside a tabview. i need to
shift-tab toan nssearchfield that is on the same level as the tab
view. but i just can't get it to work. nextKeyView on the other hand
works just dandy. plus i also connected everything in IB, so the
problem should not be there.
Ben
On Jan 5, 2007, at 9:58 PM, Matt Neuburg wrote:
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