Tab order in a view containing an NSTabView
Tab order in a view containing an NSTabView
- Subject: Tab order in a view containing an NSTabView
- From: "John Debay" <email@hidden>
- Date: Thu, 24 Jul 2003 21:57:05 -0500
Hi,
I have a quick question regarding how to properly set up the keyboard loop
for a view containing an NSTabView. I have a series of controls that
represents a form within my window. One of the controls needs to change
between a text field and a popup button, depending on the context. This is
implemented by switching between two tabs in a tab view with the tabs
themselves hidden. The problem I'm having is with the tab order from the
control in the tab view to the next control in the form. Basically, it
doesn't work. I''ve been concentrating on just getting the text field in one
tab to work, and I'll worry about the popup button later. I've set the
initial first responder of the tab view to the text field, and have
experimented with setting the next key view of the text field, first to the
next element in the form (where I want the focus to go next, but is outside
of the tab view), then to the tab view, etc., and nothing has worked. When
the text field in the tab view has the focus, hitting tab does nothing.
Can someone please explain how I can set this up so that I get the desired
behavior? Thanks in advance.
Mike
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.