Do something when an NSTextView gains focus
Do something when an NSTextView gains focus
- Subject: Do something when an NSTextView gains focus
- From: Damian Terentyev <email@hidden>
- Date: Tue, 17 Oct 2006 11:56:47 +0400
Good day and respect to all you programmers!
I need to accomplish a trivial task — when the user presses Tab to go
to nextKeyView, that view (actually, an NSTextView) should select all
text (That's quite a common behaviour, I suppose). But as I'm only a
beginner, I've stuck with documentation and cannot find any simple way
of doing this (that is, how to do something when a view becomes a first
responder), although I'm sure it is there.
Could you please be helpful to hint me about it?
Yours truly,
Three-eyed Fish
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden