• 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: initialFirstResponder and subclass of NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: initialFirstResponder and subclass of NSTextView


  • Subject: Re: initialFirstResponder and subclass of NSTextView
  • From: Charles Srstka <email@hidden>
  • Date: Tue, 18 Jun 2002 21:55:37 -0500

In my experience, initialFirstResponder doesn't work. You need to use makeFirstResponder: in windowDidLoad.

On Tuesday, June 18, 2002, at 09:32 PM, Renaud Boisjoly wrote:

Hi!

I've been banging my head on this...

I have a subclass of an NSTextView inside a window which also contains an NSTextField (at the top).

All this inside a document based app, which uses a subclass of the windowController as well.

I have tried everything I could to make my TExtView the initial first responder of my window, but its always the TextField which is hilited. I've set initialFirstResponder in IB, I've set it in WindowDidLoad in my subclass of WindowController, after my document has loaded but its always the field which is the firstresponder...

going nuts...

Renaud
_______________________________________________
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.
_______________________________________________
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: initialFirstResponder and subclass of NSTextView
      • From: Renaud Boisjoly <email@hidden>
References: 
 >initialFirstResponder and subclass of NSTextView (From: Renaud Boisjoly <email@hidden>)

  • Prev by Date: Re: Distinguishing displayable vs. functional keys in an event?
  • Next by Date: Re: Distinguishing displayable vs. functional keys in an event?
  • Previous by thread: initialFirstResponder and subclass of NSTextView
  • Next by thread: Re: initialFirstResponder and subclass of NSTextView
  • Index(es):
    • Date
    • Thread