• 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: Justin Spahr-Summers <email@hidden>
  • Date: Mon, 14 Mar 2005 08:07:30 -0600

In the method that gets called when the notification is posted, just
use [myTextField stringValue].

On Mon, 14 Mar 2005 14:20:09 +0530, Rohit Bhatia <email@hidden> wrote:
>
>
> 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
>
> Thanks.
> Rohit
 _______________________________________________
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

References: 
 >Handle keyboard events (From: "Rohit Bhatia" <email@hidden>)

  • Prev by Date: Re: how to show other application in front of others?
  • Next by Date: Obtaining the NSGraphicsContext for custom NSView
  • Previous by thread: Handle keyboard events
  • Next by thread: Re: Handle keyboard events
  • Index(es):
    • Date
    • Thread