i am using tabcontrol in windows application using c# language.i want to change the title of the tabs they r like tabpage1, tabpage2 i want to change them, help me please
A:
You can change it pretty simply in the designer; click on a blank area in the tab page contents and use the property view to set the Text
property. Also through code via:
tabPage1.Text = @"Something Meaningful";
Where tabPage1
would be the reference to whichever TabPage
you wanted to set the Text
of.
Quintin Robinson
2009-10-24 07:20:07
ya it is working thank you Mr.Quintin Robinson
Surya sasidhar
2009-10-24 07:21:46
Glad you got it working.
Quintin Robinson
2009-10-24 07:22:30
A:
tabCtrl.TabPages[0].Text = "some text";
tabCtrl.TabPages[1].Text = "some other text";
Andrew Keith
2009-10-24 07:20:35