• 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: One-line TextViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: One-line TextViews


  • Subject: Re: One-line TextViews
  • From: matt neuburg <email@hidden>
  • Date: Sat, 15 May 2004 12:03:08 -0700

On Fri, 14 May 2004 12:49:30 -0500, Scott Thompson <email@hidden> said:
>Another issue that I'd like to tackle, in the same bit of code, is
>changing another area of my window as the user enters and leaves the
>text fields he is tabbing through.
>
>I know that I can get notifications within the class when a given text
>view becomes the key view. I don't see any way for someone outside of
>the class to get notifications when the current key responder changes.
>I found a message that is sent to a window's delegate when that window
>becomes the key window... but no messages when the key responder
>changes within a window.
>
>Does such a mechanism exist?

When user leaves your NSTextField, it sends its Action message.
Alternatively, override become... and resignFirstResponder. m.
--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide! NOW SHIPPING...! (Finally.)
http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: Linking problem after new computer
  • Next by Date: Re: How to make NSImageView respond to keyboard events?
  • Previous by thread: Re: One-line TextViews
  • Next by thread: Re: One-line TextViews
  • Index(es):
    • Date
    • Thread