Re: nextKeyView and NSTabView: How to prevent the tabbing order from going out of the tab view?
Re: nextKeyView and NSTabView: How to prevent the tabbing order from going out of the tab view?
- Subject: Re: nextKeyView and NSTabView: How to prevent the tabbing order from going out of the tab view?
- From: Uli Zappe <email@hidden>
- Date: Sat, 30 Oct 2004 04:56:03 +0200
Am 30.10.2004 um 04:37 schrieb Angela Brett:
My initial reaction to that is, you want to turn 'full keyboard
access' into 'keyboard access to only the things in the tab view'.
What if somebody has full keyboard access turned on because they have
difficulty
using the mouse? [...] Perhaps that's the reason it doesn't work the
way you want.
That's a good point.
It doesn't apply in my case (I provide menu shortcuts to switch between
the various tab views, while on the other hand the equivalent buttons
that I want to exclude are customized buttons that look very ugly when
highlighted by that blue outline), but I can see why you would want to
generally prevent that.
I have now used subclasses for the buttons I want to exclude that
simply implement - (BOOL)acceptsFirstResponder {return NO;} and that
does what I want.
I felt that was unduly expensive for something that should be doable in
Interface Builder, but taking your point I feel it's OK.
Then again, maybe you are overly generous to Apple here. I mean, in a
plain simple content view of a window you can exclude whatever controls
you want simply by omitting them from the nextKeyView sequence ...
Bye
Uli
________________________________________________________
Uli Zappe, Solmsstraße 5, D-65189 Wiesbaden, Germany
http://www.ritual.org
Fon: +49-700-ULIZAPPE
Fax: +49-700-ZAPPEFAX
________________________________________________________
_______________________________________________
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