Re: One-line TextViews
Re: One-line TextViews
- Subject: Re: One-line TextViews
- From: matt neuburg <email@hidden>
- Date: Sun, 16 May 2004 07:14:42 -0700
On Sat, 15 May 2004 19:48:55 -0500, Scott Thompson <email@hidden> said:
>
>> Does such a mechanism exist?
>
>
>
> When user leaves your NSTextField, it sends its Action message.
>
> Alternatively, override become... and resignFirstResponder. m.
>
>
It's not the text fields that are the problem. The trouble is being
>
notified when the text views gain the key focus. I'll just create a
>
subclass of NSTextView and override the responder messages, I guess.
But watch out for the interaction with the field editor. The NSTextView
gains and loses first responder status in a tricky way because it hands that
status over to the field editor. 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.