Solved

TableLayoutPanel Limitations

Posted on 2014-09-22
3
127 Views
Last Modified: 2014-09-25
Hello,

I am working on a vb.net(vs2010) project and am using a TableLayoutPanel for the first time. I have an arrangment of say 14 columns and 5 rows. In one of the rows I place 14 progressbars(one in each column). I set each progressbars anchor property to r/l/t/b and everything re-sizes very nicely when I re-size the form.

I want to add a few characters of text on top of each of the scroll bars and have the text also re-size. However, when a control is hosted in a cell of the TableLayoutPanel, it only appears to accept one control per cell.

Any suggested workarounds? (text on top of scroll bar and clean re-sizing)

Thanks,
bartj
0
Comment
Question by:bartdsp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
Kyle Abrahams earned 500 total points
ID: 40339608
Can you wrap the controls in a panel?

eg:

Add a panel to the cell and then add the controls to the panel.
0
 

Author Comment

by:bartdsp
ID: 40343060
Yes...this works!
Thanks!
0
 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 40344472
Be sure to close the question!
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question