Re: nsstepper up arrow and down arrow
Re: nsstepper up arrow and down arrow
- Subject: Re: nsstepper up arrow and down arrow
- From: Matt Neuburg <email@hidden>
- Date: Fri, 29 Apr 2005 08:56:33 -0700
On Thu, 28 Apr 2005 23:57:23 -0400, Luc Vandal <email@hidden> said:
>do I need to implement keyDown in the window controller or I have to
>derive my own NSStepper?
>
>What I don't understand is that I've created an empty project with a
>NSStepper control. I added an action connected to that control. The
>control does respond when I press the up or down key on the keyboard.
>How weird is that?
>
>Also, in the other project (the one where NSStepper is causing
>problems) if I press the down key on the keyboard and then press the
>space bar, the control will respond!
>
>I don't get it!
Clearly not. Step One: in System Preferences > Keyboard & Mouse > Keyboard
Shortcuts, uncheck "Turn on full keyboard access." You clearly don't
understand what this is, and the fact that it is turned on is confusing you.
Once you've done this, you will no longer be able to give the stepper the
focus, and the system's keyboard shortcuts for manipulating the stepper will
no longer interfere. You will thus be left interacting only with Cocoa
itself, and your experiments will make sense to you. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>
_______________________________________________
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