Skip navigation.
 
mlRe: Help needed with the key down event in NSTextField
FROM : Chris Suter
DATE : Wed Jun 21 09:18:36 2006

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?

Related mailsAuthorDate
mlHelp needed with the key down event in NSTextField Vinay Prabhu Jun 20, 14:45
mlRe: Help needed with the key down event in NSTextField Nick Kreeger Jun 20, 17:28
mlRe: Help needed with the key down event in NSTextField Douglas Davidson Jun 20, 17:43
mlRE: Help needed with the key down event in NSTextField Vinay Prabhu Jun 21, 09:13
mlRe: Help needed with the key down event in NSTextField Chris Suter Jun 21, 09:18