• 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: Douglas Davidson <email@hidden>
  • Date: Mon, 15 Oct 2001 10:15:49 -0700

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 because when you press tab, an actual tab goes into the text inside it (of course, this is the desired effect for most people). However, I have it set so that the NSTextView is not editable, but it is selectable. I'd like to be able to press tab to switch to the nextKeyView like NSTextField works. How would I do that? Thanks,

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.

Douglas Davidson


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

  • Prev by Date: Re: Q's about Obj-C
  • Next by Date: Re: Displaying an alert box
  • Previous by thread: NSTextView and nextKeyView
  • Next by thread: Re: NSTextView and nextKeyView
  • Index(es):
    • Date
    • Thread