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 protected]> 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 protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to