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

  • Home
  • SEARCH
  • 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 71643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T19:55:12+00:00 2026-05-10T19:55:12+00:00

I am having a peculiar problem with the order in which FlowLayoutPanels are added

  • 0

I am having a peculiar problem with the order in which FlowLayoutPanels are added in to the form’s controls property. This is what I tried,

I added 7 FlowLayoutPanels in to a C# window application from left to right in vertical strips. Then I tagged the flow layouts as 1, 2, 3, … 7 again from left to right. Now in the load handler of the form, I wrote the following snippet,

    foreach (FlowLayoutPanel aDaysControl in this.Controls)     {         MessageBox.Show(aDaysControl.Tag.ToString());     } 

I expected messages to appear in the order of 1, 2, … 7. But I got it in the reverse order (7, 6, …1). Could some one help me out with the mistake I did ??

Reason behind preserving the order,

I am trying to make a calendar control with each row representing a day. If a month starts from Wednesday, then I need to add a empty label to the first(Monday) and the second(Tuesday) row. So the order matters a bit

  • 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. 2026-05-10T19:55:12+00:00Added an answer on May 10, 2026 at 7:55 pm

    look at the order in which they are added to the form in the yourForm.designer.cs

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

Sidebar

Related Questions

I am having a peculiar problem with the order in which TextBox controls are
I am having a peculiar problem with getting an integer from an ajax response.
Having a problem with Backbone being inconsistent. I've added a console.log to the fetch
I'm having the most peculiar problem, and I was hoping I someone could point
I'm having a peculiar issue. I'm reading the HTML from a div contenteditable, and
This perhaps is a peculiar problem and I do need a second eye. I
I'm having a peculiar problem in a WPF-app I've written. It has a single
I'm having quite a peculiar problem with PhoneGap and JQuery Mobile, using the latest
having read the docs, https://docs.djangoproject.com/en/dev/topics/signals/ i have created this in my signals.py file: from
Having this problem with my android app I struggled with this for some time

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.