• 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
Tab and Enter in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tab and Enter in NSTextView


  • Subject: Tab and Enter in NSTextView
  • From: Mike Abdullah <email@hidden>
  • Date: Sun, 3 Sep 2006 19:10:21 +0100

I have an NSTextView in my app. I wish to modify it so that using the Tan key will not insert a tab, but will move to the next control.

I know I can do this using setFieldEditor:

However, this also disables use of the enter key. I want to be able to still use the enter key to add new lines of text. Any ideas?

Mike.
_______________________________________________
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


  • Follow-Ups:
    • Re: Tab and Enter in NSTextView
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Mail-like glossy buttons
  • Next by Date: Re: Cocoa newbie needs direction
  • Previous by thread: Re: Cocoa newbie needs direction
  • Next by thread: Re: Tab and Enter in NSTextView
  • Index(es):
    • Date
    • Thread