Re: can't tab between controls
Re: can't tab between controls
- Subject: Re: can't tab between controls
- From: j o a r <email@hidden>
- Date: Sat, 11 Nov 2006 13:26:33 +0100
On 11 nov 2006, at 12.50, Marc Wan wrote:
so, my application has a window with a bunch of controls on it,
mostly
NSButtons with images instead of text. I want the application to be
designed such that one of the buttons initially has keyboard
"focus", which
i'm assuming is firstResponder status. So, in IB, I set this
button to be
the "Initial First Responder". These buttons are disabled in the
NIB and
re-enabled when the user opens a doc.
and when my app starts up and those buttons are all enabled, the one
button does indeed have the keyboard focus.
however, i cannot hit TAB to move between these controls any more.
if i DON'T set it as the initial first responder, then
a. the wrong control comes up with the keyboard focus.
b. i CAN use TAB to move between controls.
any idea what i'm doing wrong? am i misinterpreting/misusing the
first
responder concept?
On Mac OS X, not all controls are included in the tab chain by
default. Only controls that typically accept keyboard input are
included. Your users can change this if they want to, but it is a
user preference, not something that the developer influence.
To enable tabbing to all controls, go to:
System Preferences > Keyboard & Mouse > Keyboard Shortcuts > Full
keyboard access
It's probably a bug that the first responder for a window can be a
control that is not included in the tab chain.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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