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

Return and Enter keys in NSTextView


  • Subject: Return and Enter keys in NSTextView
  • From: Richard Schreyer <email@hidden>
  • Date: Wed, 29 Aug 2001 15:45:59 -0700

I've overridden keyDown: in NSTextView, and need to find out when the user has pressed either the Enter or Return keys.

I've looked through the docs of NSEvent, but I don't see any constants for these keys like there are for the Modifiers.

Richard Schreyer


  • Follow-Ups:
    • Re: Return and Enter keys in NSTextView
      • From: Douglas Davidson <email@hidden>
    • Re: Return and Enter keys in NSTextView
      • From: "John C. Randolph" <email@hidden>
    • Re: Return and Enter keys in NSTextView
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: Class and methods for RadioButton
  • Next by Date: PPC Assembly in Frameworks
  • Previous by thread: Re: What Frameworks do I use?
  • Next by thread: Re: Return and Enter keys in NSTextView
  • Index(es):
    • Date
    • Thread