jacknad
jacknad

Reputation: 13739

How to disable TabIndex?

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

Upvotes: 31

Views: 28908

Answers (2)

Hemendra Singh
Hemendra Singh

Reputation: 106

private void Form1_Load(object sender, EventArgs e)
    {
        button1.TabStop = false;
    }

Upvotes: 5

Bala R
Bala R

Reputation: 109017

Set TabStop property to false

Upvotes: 56

Related Questions