How do I make a custom view become first responder
How do I make a custom view become first responder
- Subject: How do I make a custom view become first responder
- From: Tom Gray <email@hidden>
- Date: Wed, 14 Aug 2002 00:13:11 -0400
As always, thanks in advance, and I mean it. I have gotten a lot of good
advice here and I appreciate it.
How do I make a subclass of NSTextView become the first responder?
I have created a subclass of NSTextView for the display of a VT-100 terminal
emulator. It runs great except that before I can "type" into my "terminal" I
have to "click" in my terminal.
I have chased around with NSWindow, NSView and the various methods but I
can't seem to get a handle on it. My problem (I think) is that I can't find
a method that returns the NSView that my subclass inherits from. With out
that NSView I can't use NSWindows setInitialFirstResponder method.
--
Tom Gray
email@hidden
or
email@hidden
_______________________________________________
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.