• 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: The Karl Adam <email@hidden>
  • Date: Mon, 24 Jan 2005 10:10:29 -0500

How about -pageUp: and -pageDown:, These are clearly defined in
NSResponder, you see NSTextField inherits from NSControl which
inherits it from NSView, which inherits from NSResponder.

The documentation is very helpful at times.

On Mon, 24 Jan 2005 15:48:09 +0100, Ole Voß <email@hidden> 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 :-)
>
> Regards,
>
> Ole.
>  _______________________________________________
> 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
>
 _______________________________________________
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

  • Follow-Ups:
    • Re: Capturing 'pageup' and 'pagedown' keys in NSTextField
      • From: Ole Voß <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>)

  • Prev by Date: Re: Problems manually scrolling a view using mouseDown:
  • Next by Date: Re: NSSplitView Messing Up Custom Views
  • Previous by thread: Capturing 'pageup' and 'pagedown' keys in NSTextField
  • Next by thread: Re: Capturing 'pageup' and 'pagedown' keys in NSTextField
  • Index(es):
    • Date
    • Thread