Solved

TableLayoutPanel Limitations

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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 tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

10 Experts available now in Live!

Get 1:1 Help Now