• 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
setting up nextKeyView chain dynamically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Regex lib for NSString ?
  • Next by Date: subclass NSWindow
  • Previous by thread: Re: Reading file permissions
  • Next by thread: subclass NSWindow
  • Index(es):
    • Date
    • Thread