Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8092141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:13:28+00:00 2026-06-05T20:13:28+00:00

I have a windows form application. On the form there are three groupboxs. Each

  • 0

I have a windows form application. On the form there are three groupboxs.
Each groupbox contains some controls. Please see the image.
form

There is a groupbox “flag” that contains a few checkboxs. “flag” is inside in “groupbox1”.
I used Tab key to go through each control but it doesn’t work for checkboxs in “flag”. I did set proper tabindex for each control.

It works for textboxs and buttons but checkboxs.

Why? Thanks for help.

EDIT

 // 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.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:13:29+00:00Added an answer on June 5, 2026 at 8:13 pm

    For System.Windows.Forms.GroupBox:

    You should make sure that your GroupBox flag has an appropriate TabIndex set.

    From MSDN – How to: Set the Tab Order on Windows Forms:

    Additionally, by default, a GroupBox control has its own TabIndex
    value, which is a whole number. A GroupBox control itself cannot have
    focus at run time. Thus, each control within a GroupBox has its own
    decimal TabIndex value, beginning with .0. Naturally, as the TabIndex
    of a GroupBox control is incremented, the controls within it will be
    incremented accordingly. If you changed a TabIndex value from 5 to 6,
    the TabIndex value of the first control in its group automatically
    changes to 6.0, and so on

    Also, make sure the TabStop property of your GroupBox flag is not set to false. I believe false is the default.

    For System.Windows.Controls GroupBox:

    Make sure that the GroupBox.IsTabStop property is set. This also defaults to false.


    Update: It appears that all of your controls are being added to groupBox3. You should make sure that each of them is being added only to its containing groupbox. For example, checkBox1, checkBox2, and checkBox3 should all be added to flag, which itself should be added to groupBox1. groupBox3 should only contain Back, Next, Finish, and Cancel.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a windows forms application in .NET 3.5. There's one form with 20
Scenario I have a Windows Forms Application. Inside the main form there is a
I have a C# Windows Form application that contains a menu with this event:
In a Windows Form application I have a Form with a UserControl that contains
I have a(n) (MDI) Windows Form application. It contains two forms. One form (Measured
I have an Windows Form Application, and in it there is a Button. If
Hi there i have a windows form application and i have a datagrid with
I have a windows form application built using VC++ dot net 3. There is
I have a Windows Form application. Version 1 of my app has been released
I have a Windows form application that's consuming web services over https and is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.