How to disable TabIndex?

前端 未结 2 2014
时光取名叫无心
时光取名叫无心 2020-12-16 10:54

Is there a way to disable TabIndex for controls in a Form (C# winForms) that never need focus?

相关标签:
2条回答
  • 2020-12-16 11:27
    private void Form1_Load(object sender, EventArgs e)
        {
            button1.TabStop = false;
        }
    
    0 讨论(0)
  • 2020-12-16 11:32

    Set TabStop property to false

    0 讨论(0)
提交回复
热议问题