?
Solved

TableLayoutPanel Limitations

Posted on 2014-09-22
3
Medium Priority
?
130 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 2000 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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 …
This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

770 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