• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
nextKeyView and NSTabView: How to prevent the tabbing order from going out of the tab view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nextKeyView and NSTabView: How to prevent the tabbing order from going out of the tab view?


  • Subject: nextKeyView and NSTabView: How to prevent the tabbing order from going out of the tab view?
  • From: Uli Zappe <email@hidden>
  • Date: Fri, 29 Oct 2004 23:32:06 +0200

Hi,

judging by the messages to this topic, the combination of nextKeyView and NSTabView seems to be generally problematic, but I've run into a problem I haven't found in the archives so far.

I have an NSWindow with a tabless NSTabView in it and a few buttons outside the tab view that control the tab view selection. With full keyboard access enabled, I want the tabbing order to stay *inside* the tab view, i.e. after tabbing to the last control inside the tab view, tabbing should lead to the first control inside the tab view again, and *not* go out of the tab view to the buttons outside the tab view.

This seems to be as easy a task as you can get, but it doesn't work. I've set the initial first responder inside the tab view, and connected all controls inside the tab view with the nextKeyView outlets. The last control's nextKeyView points to the first item inside the tab view (the first responder) again. Also, for test purposes I mixed up the order of the controls so that it is easy to see from the tabbing behavior if my tabbing order produced via nextKeyView outlets is used at all (instead of a computed tabbing order).

If I test this in Interface Builder (or my app), the tabbing order clearly shows that my nextKeyView settings *are* used. *Except* the last one: if I have arrived at the last control, tabbing goes outside of the tab view, to one of the buttons outside, thus ignoring my nextKeyView setting.

Is there something I miss, or is this a downright bug? If so, does anybody know of a work-around?

Thanks in advance for your replies!

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
  • Follow-Ups:
    • Re: nextKeyView and NSTabView: How to prevent the tabbing order from going out of the tab view?
      • From: Robbie Haertel <email@hidden>
    • Re: nextKeyView and NSTabView: How to prevent the tabbing order from going out of the tab view?
      • From: "Angela Brett" <email@hidden>
  • Prev by Date: Re: Thread Cancelation
  • Next by Date: Re: is there a tool that displays object relationships in Cocoa?
  • Previous by thread: Re: Autoresizable NSTextField (2)
  • Next by thread: Re: nextKeyView and NSTabView: How to prevent the tabbing order from going out of the tab view?
  • Index(es):
    • Date
    • Thread