I think this is what you are looking to do?
tabControl1.TabPages.Text = "the test of my tab";
It appears you are changing your tabcontrol property and not the tabPage of your tabcontrol.
If you are accessing by c# code then use the above. You can also enter the name opposed to the (int)Id of the tab but I would use ID as it won't affect you changing the name.
If you are doing this through a GUI then be sure to click the body of the tab page and not the outline of the tab control.
>Why i can't write a text in the box of a tab ?
This is not an editable area. It is a container region in which you may add other controls (textboxes, buttons, etc).
adatapost and SharpJohnnyG are both correct, depending on what you meant. Can you clarify your question. Are you trying to alter the text that appears above each page (eg "tabPage1") or are you trying to place text inside the tab page itself.
If its the first, then what SharpJohnnyG said is correct, you need to alter the text proeprty of the pages not the containing control. Either click on the page itself then alter its text in the property window, or click on the container and then access its TabPages Colelction from the property window (see image tabpages.JPG).
If you want to add text to the body of the page then (as adatapost said) the tab page is a container, you need to add controls to it. So to add text you can add a label or textbox to the page.
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
Hi. so this is actually a continuation from another question of mineHere but i was advised to start a new thread as the original question was already answered.
This is the result of previous question answered :
code for the listbox - datagridview interaction
At the top of the code ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.
Private Sub btn_addline_Click(ByVal ...