Re: Handle keyboard events
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