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

后端 未结 4 1109
被撕碎了的回忆
被撕碎了的回忆 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:46

    Each item in your form-designer should have a TabIndex property.

    Set the TabIndex in ascending order. (low-to-high)

提交回复
热议问题