• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Capturing 'pageup' and 'pagedown' keys in NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >RE: Re: Pictures as characters (From: "Peter Karlsson" <email@hidden>)
 >RE: Re: Pictures as characters (From: Ricky Sharp <email@hidden>)
 >Capturing 'pageup' and 'pagedown' keys in NSTextField (From: Ole Voß <email@hidden>)
 >Re: Capturing 'pageup' and 'pagedown' keys in NSTextField (From: Andrew Farmer <email@hidden>)

  • Prev by Date: Re: Capturing 'pageup' and 'pagedown' keys in NSTextField
  • Next by Date: Re: Distributed Objects: problem with bycopy not working as expected
  • Previous by thread: Re: Capturing 'pageup' and 'pagedown' keys in NSTextField
  • Next by thread: RE: Re: Pictures as characters
  • Index(es):
    • Date
    • Thread