Re: Capturing 'pageup' and 'pagedown' keys in NSTextField
Re: Capturing 'pageup' and 'pagedown' keys in NSTextField
- Subject: Re: Capturing 'pageup' and 'pagedown' keys in NSTextField
- From: Ole Voß <email@hidden>
- Date: Mon, 24 Jan 2005 23:46:15 +0100
Speed I suppose ;-)
I find it tedious to move the pointer to the appropriate position and
click until I'm where I want to be. It's a bonus to my app anyway and a
challenge to see how it's done.
Regards,
Ole.
On 24 Jan 2005, at 06:48, Ole Voß wrote:
I've got a NSTextField containing a number (e.g. '123'), which I
would like to respond to pageup and pagedown keys by incrementing or
decrementing the number accordingly. Mind you, it could be any two
keys that are not used for editing.
I'm not asking for a solution, but if somebody could tell me what I
should be looking at, that would be greatly appreciated :-)
Any reason you can't use an NSStepper with the field? (The little
up-down-arrows thingy.) This would seem the perfect application for one.
_______________________________________________
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