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

Re: previousResponder?


  • Subject: Re: previousResponder?
  • From: Matt Neuburg <email@hidden>
  • Date: Sat, 06 Jan 2007 17:17:57 -0800
  • Thread-topic: previousResponder?

On or about 1/6/07 2:23 PM, thus spake "Salánki Benjámin"
<email@hidden>:

> Alternatively (since no one has come up with suggestions that work)

What doesn't work? The window will receive a setPreviousKeyView: call when
the user presses Shift-Tab, so you are free to override if you want
something special to happen. m.

> 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/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide - Second Edition!
http://www.amazon.com/gp/product/0596102119
Take Control of Word 2004, Tiger, and more -
http://www.takecontrolbooks.com/tiger-customizing.html
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/



_______________________________________________

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

  • Follow-Ups:
    • Re: previousResponder?
      • From: Salánki Benjámin <email@hidden>
References: 
 >Re: previousResponder? (From: Salánki Benjámin <email@hidden>)

  • Prev by Date: Re: NSPopupButton with NSArrayController
  • Next by Date: Re: previousResponder?
  • Previous by thread: Re: previousResponder?
  • Next by thread: Re: previousResponder?
  • Index(es):
    • Date
    • Thread