Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

How to programatically add a control to a group box within a tab page?

$
0
0

I want to programatically add a textBox to a groupBox that is within a tabPage. Can someone show me how to reference the groupBox within the tabPage?

Something along the lines of.....

this.tabPage.groupBox.Controls.Add(textBox); (this apparently does not work)



Thx, MikeH


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>