• 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
setting nextKeyView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: setting nextKeyView
      • From: Esteban Uribe <email@hidden>
References: 
 >Oh, please! (was Re: To all cocoa developers - new cocoa dev forum ) (From: Simon Stapleton <email@hidden>)

  • Prev by Date: Cursor Appears and Then Disappears
  • Next by Date: Calling a unix command from Cocoa ?
  • Previous by thread: Oh, please! (was Re: To all cocoa developers - new cocoa dev forum )
  • Next by thread: Re: setting nextKeyView
  • Index(es):
    • Date
    • Thread