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 9062993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T15:52:39+00:00 2026-06-16T15:52:39+00:00

This problem doesn’t happen for all instance but this code block: this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top

  • 0

This problem doesn’t happen for all instance but this code block:

        this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
        | System.Windows.Forms.AnchorStyles.Left) 
        | System.Windows.Forms.AnchorStyles.Right)));
        this.tableLayoutPanel1.ColumnCount = 2;
        this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 60.99398F));
        this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 39.00602F));
        this.tableLayoutPanel1.Controls.Add(this.pbxInspectionDisplay, 0, 0);
        this.tableLayoutPanel1.Controls.Add(this.gbxEggInput, 0, 0);
        this.tableLayoutPanel1.Location = new System.Drawing.Point(10, 57);
        this.tableLayoutPanel1.Name = "tableLayoutPanel1";
        this.tableLayoutPanel1.RowCount = 1;
        this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
        this.tableLayoutPanel1.Size = new System.Drawing.Size(1182, 570);
        this.tableLayoutPanel1.TabIndex = 28;

At the table layout, pbxInspectionDisplay is unexpectedly located on right and gbxEggInput on left. If I replace corresponding part above with following code

        this.tableLayoutPanel1.Controls.Add(this.gbxEggInput, 0, 0);
        this.tableLayoutPanel1.Controls.Add(this.pbxInspectionDisplay, 0, 0);

they are located in right order (pbxInspectionDisplay on left and gbxEggInput on right). As I said, in other code block, first control is located on left and second one on right. So I am trying to understand what made the difference. Can somebody explain why this happens?

  • 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-16T15:52:41+00:00Added an answer on June 16, 2026 at 3:52 pm

    I believe that you would want to specify the column in which you’re adding the controls. Something like this:

    this.tableLayoutPanel1.Controls.Add(this.pbxInspectionDisplay, 0, 0);
    this.tableLayoutPanel1.Controls.Add(this.gbxEggInput, 1, 0);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm sorry if this title doesn't describe the problem properly but I wasn't sure
This problem doesn't occur in all projects, hence it makes it even more frustrating.
I keep coming back to this problem, since there doesn't seem to be a
I cannot figure out this positioning problem in Firefox. It doesn't seem to follow
This is my problem. If a user disconnect from channel and doesn't connect back
another sql problem of mine .. this time the reader doesn't work properly (
Possible Duplicate: Why doesn't this division work in python? A simple problem I'm having
I have a problem with IE causing two errors: 1. Object doesn't support this
i am a beginner and i have a problem : this code doesnt compile
I am having the same problem as this post but the answer does not

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.