Re: NSTextView and First Responder
Re: NSTextView and First Responder
- Subject: Re: NSTextView and First Responder
- From: Scott Anguish <email@hidden>
- Date: Wed, 24 Apr 2002 01:35:34 -0400
On Wednesday, April 24, 2002, at 12:54 AM, John Tsombakos wrote:
I have a question with having the insertion point appear in a
NSTextView when an application starts up. The one I'm looking at is the
new HTML Editor sample at Stepwise <http://www.stepwise.com>. I
followed the directions and set up the simple app. But when it ran,
there wasn't an insertion cursor in the text field. I looked around, in
list archives, in the Hillegass Cocoa book and came up with dragging a
connection from the window to the NSTextView and connecting the
InitialFirstResponder. But it didn't work.
How do you set up something that should be so simple?
in the windowControllerDidLoadNib:, you need to set the selection
explicitly... this is part of the second article if I ever get time to
finish the narrative on the damn thing. the book has been a major time
sink of late..
_______________________________________________
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.