setting nextKeyView
setting nextKeyView
- Subject: setting nextKeyView
- From: Marco Binder <email@hidden>
- Date: Fri, 8 Nov 2002 19:20:14 +0100
Hi everyone,
I have a NSTextView and I want Tab to actually end editing and jump to
the next view. I intercept tab using - (BOOL)
textView:doCommandBySelector: which works fine. calling [myTextView
nextKeyView] on the passed NSTextView always gives me an NSScroller...
I ve set the outlet "nextKeyView" in IB as well as programatically with
the same result. I DID set theoutlet for the NSTextView, not for the
enclosing NSScrollView (doing that hasnt helped me either).
So, what is the problem? Can anyone help me?
Of course I can still manually pass the right view for each
makeFirstResponder message, but this is a hassel and includes some
if-statements... And it reduces the reusability to zreo.
marco
--
|\ /| E-Mail: email@hidden WWW: www.marco-binder.de
| \/ | Telefon: 07531 / 94 19 94 Fax: 07531 / 94 19 92
| |ARCO Snail-Mail: Banater Str. 3 - 78467 Konstanz
BINDER _____________________________________________________
_______________________________________________
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.