• 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: Handle keyboard events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Handle keyboard events


  • Subject: Re: Handle keyboard events
  • From: Matt Neuburg <email@hidden>
  • Date: Mon, 14 Mar 2005 07:55:15 -0800

On Mon, 14 Mar 2005 14:20:09 +0530, "Rohit Bhatia" <email@hidden>
said:
>Hi,
>I want to handle the Keyboard Events in a TextField. I want call a
>particular function every time a key is pressed.
>For this I am using the NSTextDidChangeNotification.
>I have added an Observer for this, but I am not able to get the value
>present in the TextField.
>Is there any other way to do this

I would try attaching a custom NSFormatter to the field. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>



 _______________________________________________
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

  • Prev by Date: Re: Handle keyboard events
  • Next by Date: Dumb newbie question about objects and scalars
  • Previous by thread: Re: Handle keyboard events
  • Next by thread: Dyn. tooltip for each row in a table view
  • Index(es):
    • Date
    • Thread