Tengo una aplicación de formulario de Windows. En el formulario hay tres grupos de cajas. Cada grupo contiene algunos controles. Por favor mira la imagen. TabIndex no funciona correctamente
Hay una "bandera" de cuadro de grupo que contiene algunas casillas de verificación. "flag" está dentro de "groupbox1". Utilicé la tecla Tab para pasar por cada control, pero no funciona para las casillas de verificación en "marca". Establecí el tabindex adecuado para cada control.
Funciona con cuadros de texto y botones, pero con casillas de verificación.
¿Por qué? Gracias por la ayuda.
EDITAR
// 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.
díganos qué control se activa después de presionar la pestaña continuamente –
¿Podría publicar su código? – Dante
El código es solo números para tabindex. Todos los controles están activos excepto las casillas de verificación. –