Re: Arrow Keys in NSSlider
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