TableLayoutPanel Limitations

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
bartdspAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kyle AbrahamsSenior .Net DeveloperCommented:
Can you wrap the controls in a panel?

eg:

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bartdspAuthor Commented:
Yes...this works!
Thanks!
0
Kyle AbrahamsSenior .Net DeveloperCommented:
Be sure to close the question!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.