Re: When does Cocoa change nextKeyView
Christiaan Hofman <[email protected]> Fri, 2 Jul 2010 00:45:48 +0200
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Jul 2, 2010, at 0:32, David Dunham wrote: > I'm trying to set up a reasonable tab order for VoiceOver/Full Keyboard access. I'm doing some of this with IB connections, and some with setNextKeyView: message. > > I end up with something entirely different. I can can see that I end up with a different value for nextKeyView than what I set it to with setNextKeyView:, which I'm doing right after an addView: > > So does anyone know when the system goes through and imposes its own order on things? When should I set up things how I want them? > > David Dunham www.pensee.com/dunham/ > Imagination is more important than knowledge. -- Albert Einstein > Not sure when, probably when the view hierarchy changes, but also probably in some delayed way. Anyway, are you sure you haven't turned on (or not turned off) the window's auto recalcuation of the keyview loop? Christiaan