Iqlas Uddin
Iqlas Uddin

Reputation: 187

Position child form in TableLayoutPanel(vb.net)

I have multiple TableLayoutPanels in the MDI form. Controls are docked in each cell as required size of cells.

However, I have single (TableLayoutPanel3) in which I want to position the child forms(docked to fill). Whenever the buttons (with icons) from TLP1 are clicked, the childforms open and position in TLP3.

Can anyone suggest?

enter image description here

Upvotes: 1

Views: 403

Answers (1)

Sam
Sam

Reputation: 2917

Create all controls in your child form as a user control. Then you can easily load them in a TableLayoutPanel. Otherwise you can't load child forms in a TLP.

Upvotes: 2

Related Questions