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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:39:00+00:00 2026-06-06T05:39:00+00:00

I have an autoscrolling TableLayoutPanel to which I am dynamically adding rows. I would

  • 0

I have an autoscrolling TableLayoutPanel to which I am dynamically adding rows. I would like for the height of each row to be 1/3 of the visible area of the TableLayoutPanel, i.e., the original height of the panel before it gets expanded on the addition of the 4th panel and autoscrolling kicks in. I could just calculate the height for reach row manually and set it as an absolute height, but the TableLayoutPanel could be resized. In that case I could handle the resized event and recalculate the absolute height of each row, but I’m wondering if there is a better way. Is there some way to specify the row height as a percentage of the visible panel area, or should I just go the manual calculation, absolute height route?

  • 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-06T05:39:02+00:00Added an answer on June 6, 2026 at 5:39 am

    I ended up implementing what I needed in a top-down FlowLayoutPanel, anchored Top, Down, Left, and Right so that it resizes with the form. The first subpanel is added to the FlowLayoutPanel and assigned a width slightly less than the FLP’s width. Every subsequent subpanel is given a Dock style of fill, so that its width automatically matches the first panel. Every panel is assigned a height of FLP.Height / 3 and I have a handler for the FLP’s resize event to recalculate the height of the subpanels as necessary.

    Thanks to everyone who commented and answered. I’m upvoting your answers since they will be helpful to others, just didn’t solve my particular issue.

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

Sidebar

Related Questions

I would like to add an auto scroll effect to a UILabel. I have
In one of my projects, I would like to have an auto-scrolling textbox. I'm
I have an application which I am developing using WPF\Prism\MVVM. All is going well
I have a div which is constantly streaming data and has functionality allowing it
have a php code like this,going to convert it in to C#. function isValid($n){
Have advancements in CPU design like dynamic instruction scheduling narrowed the performance gap between
Have anyone used Redmine Documentor which lets you convert PHP to HTML to Redmine
I'm currently writing an custom control which has to hold child control and have
HI all, Are there any premade/ready to use UITextFields and UITexView which have the
Have the following code. The height is variable so the height of the floating

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.