• 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: Arrow Keys in NSSlider
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Arrow Keys in NSSlider


  • Subject: Re: Arrow Keys in NSSlider
  • From: Lee Ann Rucker <email@hidden>
  • Date: Tue, 08 Sep 2015 20:57:49 +0000
  • Thread-topic: Arrow Keys in NSSlider

NSSlider does normally respond to keystrokes if you’ve turned on Full Keyboard Access in System Prefs > Keyboard > Shortcuts. If it works with that but not with your changes, it’s doing something complicated you’ll have to adjust for. I’ve only subclassed it to enhance the snapping behavior, I never tried to make it work with FKA off.

On Sep 8, 2015, at 1:28 PM, Raglan T. Tiger <email@hidden> wrote:

> In a window are multiple views. One view contains an NSSlider.  I would like to move the slider with arrow keys.
>
> I have subclassed NSSlider, added a -keyDown: method,and  -acceptsFirstResponder that returns YES.
>
> -keyDown is not being called.
>
> What more do I need do ?

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Arrow Keys in NSSlider (From: "Raglan T. Tiger" <email@hidden>)

  • Prev by Date: Re: Arrow Keys in NSSlider
  • Next by Date: Re: Arrow Keys in NSSlider
  • Previous by thread: Re: Arrow Keys in NSSlider
  • Next by thread: Handling close with multiple document windows
  • Index(es):
    • Date
    • Thread