Re: NSTextView and First Responder
Re: NSTextView and First Responder
- Subject: Re: NSTextView and First Responder
- From: "John Tsombakos" <email@hidden>
- Date: Thu, 25 Apr 2002 09:56:50 -0400
From: Bill Cheeseman <email@hidden>
To: Cocoa-Dev Mail <email@hidden>
on 02-04-25 12:25 AM, John Tsombakos at
email@hidden wrote:
So, I did add a statement to the
windowControllerDidLoadNib method:
[myTextView setSelectedRange:NSMakeRange(0,0)];
But that didn't work. Is that the proper place to put
it?
Does NSWindow's makeFirstResponder:myTextView work?
I added [[theTextView window]
makeFirstResponder:theTextView]; right after the other
line, but that didn't do it either. How about a nice, easy
SetFocus command? :)
_______________________________________________
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.