如何在 VB.NET 中设置 Tab 键顺序? [英] How can I set the tab order in VB.NET?
本文介绍了如何在 VB.NET 中设置 Tab 键顺序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在表单上有一堆按钮,当人们按下 TAB 时,我希望控件的焦点按特定顺序移动.有人知道怎么做吗?
I have a bunch of buttons on a form and when the person presses TAB I want the focus of the controls move in a specific order. Does anyone know how to do this?
推荐答案
如果你有很多控件的表单,那么通过以下方法管理标签索引:
If you have form with lots of control then manage tab index by below method:
- 在设计模式下打开表单.
- 点击工具栏中的查看" --> 底部的标签顺序".
示例:
然后只需一一点击控件即可设置标签顺序.
Then just click on controls one by one in order that you want to set tab order.
这篇关于如何在 VB.NET 中设置 Tab 键顺序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文