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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:33:41+00:00 2026-05-12T14:33:41+00:00

While I can easily accomplish in ASP.NET using AddAt(), I am trying to do

  • 0

While I can easily accomplish in ASP.NET using AddAt(), I am trying to do the same thing in Windows Forms.

I have a panel, and while I can do a pnlMyPanel.Controls.Add(ctl) … it always inserts it in the 0 position, when I would rather have it appended to the end, or pnlMyPanel.Controls.Count.

Am I overlooking a method or am I going to have to do something else?

  • 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-05-12T14:33:41+00:00Added an answer on May 12, 2026 at 2:33 pm

    It depends how your controls are being laid out.

    I assume that all of the controls in the panel have their Dock property set. If so, call BringToFront, SendToBack, or SetChildIndex on the new control after adding it to the panel.

    If not, set the Top and Left properties (or the Location property) of the new control.

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

Sidebar

Related Questions

I bet this is easy but been trying for a while and can't seem
with jsp I can easily print the logged in principal using: <%= request.getUserPrincipal() %>
Using cvShowImage , one can easily show an image in OpenCV. However, how do
By using default NSURLConnection and its delegate methods we can easily download the files.
You can easily play sounds and record sounds using the high level AVAudioPlayer. And
I have a DataSet consisting of XML data, I can easily output this to
While we can add Inline Images in paragraphs there does not appear to be
I searched for a while and can't get an answer. Why this doesn't work?
I'm searching now for a while but can't find an entrance… The application should
I've searched on here for a while but can't find a solution that works.

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.