Re: Help needed with the key down event in NSTextField
Re: Help needed with the key down event in NSTextField
- Subject: Re: Help needed with the key down event in NSTextField
- From: Chris Suter <email@hidden>
- Date: Wed, 21 Jun 2006 17:18:36 +1000
On 21/06/2006, at 5:13 PM, Vinay Prabhu wrote:
Hi,
Thanks for the help.
I have customized the NSTextField to display only numeric values
from 0 -
255.
Now I want to provide the up and down arrow support, so that when I
click up
arrow the
value should increment and for down arrow the value should decrement.
Since I have overridden the keyUp method, I can get it to work for
one click
at a time.
If the up or down arrow key is pressed and held, the values in the
text
field should continuously change.
To implement this I need to get the keyDown event. This is where I
am facing
the problem.
Regards
Vinay
What's wrong with NSStepper?
_______________________________________________
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