• 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
NSTextField trigger method on key-press?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextField trigger method on key-press?


  • Subject: NSTextField trigger method on key-press?
  • From: Matt Gemmell <email@hidden>
  • Date: Thu, 29 Aug 2002 02:08:38 +0100

Hi all,

I have an NSTextField, which triggers a certain method when the user presses return/enter. However, I'd like to trigger the method whenever they press any key (when they edit the contents of the field).

Is there a nicer way to do this than using an NSTimer to poll the contents of the field periodically?

Best,
-Matt

--
Matt Gemmell
Scotland Software
http://www.scotlandsoftware.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSTextField trigger method on key-press?
      • From: Douglas Davidson <email@hidden>
    • Re: NSTextField trigger method on key-press?
      • From: Ryan Dingman <email@hidden>
  • Prev by Date: RE: NSViewHierarchyLock
  • Next by Date: Re: NSTextField trigger method on key-press?
  • Previous by thread: Is the "add buddy/show address" window accessible?
  • Next by thread: Re: NSTextField trigger method on key-press?
  • Index(es):
    • Date
    • Thread