• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 229
  • Last Modified:

VB.net adding TableLayoutPanels programatically to a Windows Form underneath each other


On my Windows form I have a button. When the user clicks it I want a TableLayoutPanel to the form. I want the first one to be near the top of the form and then the next ones underneath the TableLayoutPanel above
Murray Brown
Murray Brown
1 Solution
So you need to set the Top and Left properties. You can calculate the Top of the 2nd one by adding up Top and Height of the first one and then adding some more pixels.
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
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.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now