Solved

TableLayoutPanel Limitations

Posted on 2014-09-22
3
124 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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 …
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

932 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now