Re: responder chain trouble
Re: responder chain trouble
- Subject: Re: responder chain trouble
- From: Ben Dougall <email@hidden>
- Date: Tue, 21 Jun 2005 12:24:33 +0100
sorry, forget this -- i've got it working.
On Tuesday, June 21, 2005, at 11:46 am, Ben Dougall wrote:
there's one NSTextField on the window. when the window first opens the
text field isn't active, which is how i want it, but i'd like it to
become active on tab press, which i can't get to work at the moment.
(when the text field is being edited, tab deselects the text field
fine, so it's just the situation when nothing's active and pressing
tab to activate the text field). when tab is pressed i can see (having
put in an NSLog in respondsToSelector in NSWindow's subclass) that -
(void)selectNextKeyView:(id)sender is called when nothing's selected
and tab is pressed. i've tried putting many different things in
selectNextKeyView: but none work. some made it crash.
how can i make the NSTextField become active on tab press (when
nothing else is active), but not active when the window initially
appears?
thanks, ben.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden