Tab Order in interface builder?

JasonGenX picture JasonGenX · Nov 23, 2010 · Viewed 11.9k times · Source

Perhaps the hour is late, but I can't find where I can set the overall Tab Order of my interface viewer dialog, just like I can with Visual Studio.

am I missing something? The tab order is all crooked. Command-R to simulate shows it.

Answer

Nicholas Riley picture Nicholas Riley · Nov 24, 2010

The Cocoa term you're looking for is "key view loop". Use the initialFirstResponder and nextKeyView outlets to connect the views together in the order you'd like to tab through them.

This is mentioned in the documentation here.

Note that the items which can receive keyboard focus will change depending on the Full Keyboard Access setting (in System Preferences > Keyboard); if disabled, tabbing will skip over various items in your key view loop.