Using the tab key to cycle through custom NSViews?
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