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: Thu, 4 Nov 2004 03:10:44 +0100
Am 02.11.2004 um 01:02 schrieb Robbie Haertel:
I see. Nevertheless, I still found a solution. Granted, I see the
purpose of allowing the tab to leave the tabview, but it may be useful
in some cases to know this:
The *only* connections I had to make were: NSWindow > NSView (Content
View) -- initialFirstResponder; and NSView (Content View) > NSTabView
-- nextKeyView. It probably wouldn't be a bad idea to hook up all the
rest.
To be sure, I added an extra text box outside and enabled full
keyboard access. When I click in the textbox outside, I can tab to
the buttons. But inside of a given tab view it stays there (I know
because the text boxes are in different places in the tab views.
Let me know how/if it works.
Yep, you're right! This works. If you don't need any tabbing outside,
you can even directly connect NSWindow to NSTabView --
initialFirstResponder.
Looks very plausible, once you have the idea ...
Thanks!
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