Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tab Order in interface builder?

Tags:

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.

like image 878
JasonGenX Avatar asked Nov 23 '10 22:11

JasonGenX


People also ask

How is tab order determined?

Control tab order is determined by the order in which controls are drawn on the screen. The first control that you draw is assigned a tab order of 1 , the next is given tab order number 2 , and so on.


1 Answers

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.

like image 152
Nicholas Riley Avatar answered Oct 21 '22 14:10

Nicholas Riley