• 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: "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.
  • Prev by Date: Popping the undo stack
  • Next by Date: Re: Application, Home, ... Folders
  • Previous by thread: Re: NSTextView and First Responder
  • Next by thread: [ANN] DockDisks beta 3 released
  • Index(es):
    • Date
    • Thread