界面构建器中的Tab顺序? [英] Tab Order in interface builder?

查看:129
本文介绍了界面构建器中的Tab顺序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

也许这个小时已经晚了,但是我找不到在哪里可以设置我的接口查看器对话框的整个Tab顺序,就像我可以用Visual Studio。

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我错过了什么?选项卡顺序都是弯曲的。命令-R模拟显示它。

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

推荐答案

您正在寻找的Cocoa术语是关键视图循环。使用 initialFirstResponder nextKeyView 插口将视图按照您要在其中标记的顺序连接在一起。请注意,可以接收键盘焦点的项目将根据全键盘访问设置(在系统预置>键盘中)而改变;如果禁用,Tab键将跳过您的键视图循环中的各个项目。

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. 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.

这在文档这里

这篇关于界面构建器中的Tab顺序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆