如何使 Access 组合框在向下箭头键上展开?
对于组合框控件,我习惯于通过 Tab 键切换到它们,单击向下箭头键打开选项,然后使用向上和向下箭头键导航这些选项。在我设计的 Access 表单中,在组合框处于活动状态时按下可移动到下一个控件。我已经有这个选项卡了,那么如何才能让向下箭头按我的预期运行呢?
这些组合框是我和无鼠标表单之间的唯一东西,我认为这对于数据输入至关重要。
With combo box controls, I'm used to being able tab to them, click the down arrow key to open up the options, and then use the up and down arrow keys to navigate those options. In an Access form I've designed, pressing down while a combo box is active moves to the next control. I already have tab for that, so how can I get the down arrow to behave as I expect?
These combo boxes are the only thing between me and a mouse-free form, which I consider essential for data entry.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Alt + ↓(向下箭头)不起作用?
Alt + ↓ (Down Arrow) does not work?
在KeyDown事件中,可以检查向下箭头是否被按下,如果是,则可以执行以下
ComboBox1.Dropdown
In the event for KeyDown, you can check if the down arrow was pressed, and if it was, you can execute the following
ComboBox1.Dropdown
或者,在 OnEnter 事件中下拉组合框,然后使用箭头键在列表中上下导航。无论如何,我经常这样做,因为如果用户可以看到列表并且不必单击下拉箭头即可访问它,那么他们似乎会更好地工作。
Alternatively, dropdown the combo box in the OnEnter event, then the arrow keys work for navigation up and down the list. I very often do this, anyway, since users seem to function better if they can see the list and don't have to click the dropdown arrow to get to it.