richard smith

richard smith

  • 1.4k
  • 285
  • 160.7k

Tab Control

Feb 16 2013 4:34 PM
I have added a tab control to a win user form but the tabs will not display text!  I have the tab named tbctrl1 and I tried double clicking the form and adding in
        private void tbctrl1_Click(object sender, EventArgs e)
        {
                tbctrl1.Text = "This is Tab 1";
        }
but it continues to show a blank tab with no text for the name.  Did I place the naming code in the wrong location?  Or am I naming the tab the wrong way?

Answers (4)