Re: initialFirstResponder and subclass of NSTextView
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.