Hi,
"Ratan" <Ra***@discussions.microsoft.com> wrote in message
news:18**********************************@microsof t.com...
I have a form that has a
tabcontrol with 5 tabpages. i want to rename the tabpages in runtime.
Actually
i want to right click the tabpage i want to rename and edit the text there
itself. How to acheive it? Any help will be greatlty appreciated.
You do so by changing TabPage.Text , of course as you know already this is
not changeable by the user, you have to implement it. A first idea is to
detect a click on the desired tab, you could check it in the selected_index
event. if that is the one you are looking for, create a Textbox with the
correct size/location and edit it, if you remove the border decorations it
will looks like you are editing the name directry in the tabpage.
An alternate option is to extend tabpage with the desired feature.
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation