• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTextView and First Responder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • RE: NSTextView and First Responder
      • From: "Jonathan E. Jackel" <email@hidden>
References: 
 >NSTextView and First Responder (From: John Tsombakos <email@hidden>)

  • Prev by Date: Re: ObjC vs C#
  • Next by Date: [ANN] DockDisks beta 3 released
  • Previous by thread: NSTextView and First Responder
  • Next by thread: RE: NSTextView and First Responder
  • Index(es):
    • Date
    • Thread