setting up nextKeyView chain dynamically
setting up nextKeyView chain dynamically
- Subject: setting up nextKeyView chain dynamically
- From: Andrew Mellinger <email@hidden>
- Date: Wed, 26 Nov 2003 10:02:14 -0800
Greetings!
Okay, bear with me as I explain the problem. There is a
NSTabView. One of the tab view contains a scroll view. Inside the
scroll view, I add NSViews on the fly as the user clicks add button.
Each NSView contains a bunch of text fields.
Now, when I first insert the NSView in the NSScrollView tabbing
between NSTextFields doesn't work. However, if I switch tab views
(to another and back) all the tabbing works properly. In fact,
tabbing will work properly between different NSViews within the
NSScrollView.
Now, I havent' set any initial first repsonders or anything like
that as the default behavior for the NSView is fine for me. What I
don't understand is the process that occurs when I switch into my
TabView that gets the whole tabbing chain (nextKeyView) set up
correctly. I want to do that manually, or if it as easy as calling
someone update routine, then I'll do that. I like the way Cocoa did
it by itself, but I don't want to have to have the user switch back
and forth. (I guess I could do it really quick myself, but that seems
like a real hack.)
Thanks for any feedback.
-Andrew
_______________________________________________
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.