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?
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 mails | Author | Date |
|---|---|---|
| Vinay Prabhu | Jun 20, 14:45 | |
| Nick Kreeger | Jun 20, 17:28 | |
| Douglas Davidson | Jun 20, 17:43 | |
| Vinay Prabhu | Jun 21, 09:13 | |
| Chris Suter | Jun 21, 09:18 |






Cocoa mail archive

