I have a pretty complex UI with hundreds of control/label on it. I want to set tabstop value as false for each label as below
//in MyForm.designer.cs
Label myLabel;
private void InitializeComponent()
{
this.myLabel = new Label();
this.myLabel.TabIndex = 1;
...
}
// in MyForm.cs
this.myLabel.TabStop = false;
But it is not working. Is there any way to set the tabstop value so that tab is not stopped at myLabel??