tags:

views:

18

answers:

2

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
ya it is working thank you Mr.Quintin Robinson
Surya sasidhar
Glad you got it working.
Quintin Robinson
A: 
tabCtrl.TabPages[0].Text = "some text";
tabCtrl.TabPages[1].Text = "some other text";
Andrew Keith
thank u it is working Mr.Andrew Keith
Surya sasidhar