I've got a very small app that I'm just using to test stuff, and I'm seeing
something I don't fully understand.
The app is very, very simple: One window, containing a standard NSButton and
a standard label. When the button is clicked it sets the label to 'Hi
there'.
It works fine when I use the mouse to click the button.
However, I'd like it to also happen with I press the space bar. In Interface
Builder I've highlighted the button, clicked on 'Key Equiv' and hit the
space bar. A tiny square 'u' appears. I save the IB data, run the app
and...space doesn't click the button.
When I set it for something else (Enter, the letter 'g' etc) it works as
expected, just not with space.
What am I missing? It's not overly important, just one of those wee things
that puzzles me.
This is on the latest XCode and IB.
Thanks.
Jim
--
http://www.ursaMinorBeta.co.uk http://twitter.com/GreyAreaUK
Please help save Bletchley Park - sign the petition for
Government funding at: (open to UK residents and ex.pats)
http://petitions.number10.gov.uk/BletchleyPark/ Thank you.