Re: Arrow Keys in NSSlider

2015-09-08 Thread Raglan T. Tiger
Coolio, I will get on these suggestion, thx! -rags > On Sep 8, 2015, at 2:47 PM, Quincey Morris > wrote: > > On Sep 8, 2015, at 13:28 , Raglan T. Tiger wrote: >> >> What more do I need do ? > > It’s hard to say, but at the very least you’ll actually need to *make* the > NSSlider first re

Re: Arrow Keys in NSSlider

2015-09-08 Thread Lee Ann Rucker
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 n

Re: Arrow Keys in NSSlider

2015-09-08 Thread Quincey Morris
On Sep 8, 2015, at 13:28 , Raglan T. Tiger wrote: > > What more do I need do ? It’s hard to say, but at the very least you’ll actually need to *make* the NSSlider first responder, which means you’ll have to click it first or tab to it. You also don’t say what you think should happen if arrow

Re: Arrow Keys in NSSlider

2015-09-08 Thread Mike Abdullah
> On 8 Sep 2015, at 21:28, Raglan T. Tiger 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 no

Arrow Keys in NSSlider

2015-09-08 Thread Raglan T. Tiger
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 ? -rags __