Re: One-line TextViews
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.