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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With