How can I set the tab order in VB.NET?

后端 未结 4 1112
被撕碎了的回忆
被撕碎了的回忆 2020-12-18 22:10

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?

4条回答
  •  既然无缘
    2020-12-18 22:44

    If you have form with lots of control then manage tab index by below method:

    • Open form in design mode.
    • Click on “View” from toolbar --> “Tab Order” at bottom.

    Example:

    enter image description here

    Then just click on controls one by one in order that you want to set tab order.

提交回复
热议问题