• 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: Return key in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Return key in NSTextView


  • Subject: Re: Return key in NSTextView
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 28 Sep 2001 09:34:49 +0200

Dustin,

>>>>>> Dustin Mierau (DM) wrote at Thu, 27 Sep 2001 17:08:45 -0700:
DM> What is the best way to be informed when a key has been pressed
DM> in an NSTextView? I obviously want to intercept a key and do
DM> some other action when it is hit, and let all other keys go to
DM> the NSTextView object.

See the delegate methods. Only if they are not sufficient for your needs
(which should be pretty rare) consider subclassing.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


References: 
 >Return key in NSTextView (From: Dustin Mierau <email@hidden>)

  • Prev by Date: Re: NSWindow without titlebar
  • Next by Date: Re: detecting
  • Previous by thread: Return key in NSTextView
  • Next by thread: Re: Return key in NSTextView
  • Index(es):
    • Date
    • Thread