• 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
Using the tab key to cycle through custom NSViews?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using the tab key to cycle through custom NSViews?


  • Subject: Using the tab key to cycle through custom NSViews?
  • From: David Hoerl <email@hidden>
  • Date: Fri, 7 Sep 2007 14:41:29 -0400

NSWindow with three custom views (added programmattically.)

In my views, I set up the responder chain, and also the keyView chain. My view implements all three responder methods, and also returns YES for canBecomeKeyView.

With one view manual made first responder, when I hit tab, I can see the window walk the nextKeyView chain, but it doesn't seem to "like" any of them so the original view stays as the first responder.

Do I need to do something in code myself in performKeyEquivalent:(NSEvent *)theEvent?

[I did find that if I always return YES to performKeyEquivalent in the subclasses, the nextKeyView chain is not walked, so I think I'm getting close...]

David

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Whats the trick to making directories appear as single files?
  • Next by Date: Re: RS: NSObject members class and isMemberOfClass
  • Previous by thread: Re: Whats the trick to making directories appear as single files?
  • Next by thread: isKindOf: for two Class objects
  • Index(es):
    • Date
    • Thread