TabIndex ne fonctionne pas correctement

J'ai une application windows form. Sur la forme il y a trois groupboxs.
Chaque zone contient certains contrôles. Veuillez voir l'image.
TabIndex ne fonctionne pas correctement

Il y a une zone "drapeau" qui contient quelques checkboxs. "drapeau" est à l'intérieur "groupbox1".
J'ai utilisé la touche de Tabulation pour passer à travers chaque contrôle, mais il ne fonctionne pas pour les checkboxs en "drapeau". Je n'ai régler correctement les tabindex pour chaque contrôle.

Il travaille pour des textboxs et boutons, mais checkboxs.

Pourquoi? Merci pour l'aide.

MODIFIER

 //groupBox2
//
this.groupBox2.Controls.Add(this.pictureBox10);
this.groupBox2.Controls.Add(this.pictureBox9);
this.groupBox2.Controls.Add(this.pictureBox8);
this.groupBox2.Controls.Add(this.pictureBox7);
this.groupBox2.Controls.Add(this.chkStoplight);
this.groupBox2.Controls.Add(this.lblStoplight);
this.groupBox2.Controls.Add(this.chkIsCount);
this.groupBox2.Controls.Add(this.chkExceptionFlag);
this.groupBox2.Controls.Add(this.chkIsActive);
this.groupBox2.Controls.Add(this.lblIsActive);
this.groupBox2.Controls.Add(this.lblExceptionFlag);
this.groupBox3.Controls.Add(this.lblIsCount);
this.groupBox2.Location = new System.Drawing.Point(16, 201);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(321, 70);
this.groupBox2.TabIndex = 10;
this.groupBox2.TabStop = true;
this.groupBox2.Text = "Flags";
//
//chkStoplight
//
this.chkStoplight.AutoSize = true;
this.chkStoplight.Location = new System.Drawing.Point(44, 25);
this.chkStoplight.Name = "chkStoplight";
this.chkStoplight.Size = new System.Drawing.Size(15, 14);
this.chkStoplight.TabIndex = 0;
this.chkStoplight.UseVisualStyleBackColor = true;
In the property, I found TabStop is true for chkStoplight.
dites-nous laquelle de contrôle s'active lorsque vous appuyez sur l'onglet en permanence
Pourriez-vous poster votre code?
Le code est juste des numéros pour la propriété tabindex. Toutes les commandes sont actives à l'exception checkboxs.
Êtes-vous à l'aide de System.Windows.Controls.GroupBox ou System.Windows.Forms.GroupBox?
c'.groupBox1 = nouveau Système.De Windows.Les formulaires.Zone();

OriginalL'auteur | 2012-06-15