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

Re: NSTextView and nextKeyView


  • Subject: Re: NSTextView and nextKeyView
  • From: Doug Brown <email@hidden>
  • Date: Mon, 15 Oct 2001 14:32:23 -0700

On Monday, October 15, 2001, at 10:15 AM, Douglas Davidson wrote:

On Sunday, October 14, 2001, at 09:50 AM, Doug Brown wrote:

I have a very simple problem that I'd like to fix. It seems that the nextKeyView doesn't apply to NSTextView

<snip>

Try

[myTextView setFieldEditor:YES];

and see if that does what you want. It should make an arbitrary textview act like the field editor that you get when editing a textfield.

Hi Douglas,

Thank you! This worked! I don't see how I missed that in the NSTextView documentation. One small problem though - I have to press tab twice to get the focus to move to the nextResponder. Do you have any idea why it does this, and how I could possibly fix it? I've checked my connections in Interface Builder, and everything looks to be ok.

Thanks,

Doug


  • Follow-Ups:
    • Re: NSTextView and nextKeyView
      • From: Douglas Davidson <email@hidden>
References: 
 >Re: NSTextView and nextKeyView (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: Nubie question re Sketch behavior
  • Next by Date: Re: NSTextView and nextKeyView
  • Previous by thread: Re: NSTextView and nextKeyView
  • Next by thread: Re: NSTextView and nextKeyView
  • Index(es):
    • Date
    • Thread