We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

TacControlAdv, putting tab on a renaminig state programmatically

Hi,

Using TabControlAdv, is it possible to put tab control in a same state as when a user double clicks on the tab to rename?

Thanks



5 Replies

PJ Poly J Syncfusion Team June 30, 2008 06:50 PM UTC


Hi,

You can use LabelEdit property to edit the tab text. Setting it to true allows user to edit the text when doule click the tab.

this.tabControlAdv1.LabelEdit = true;

Regards,
Poly




AD Administrator Syncfusion Team July 3, 2008 10:05 AM UTC

Hi,

I've a similar question: is it possible to change the name without double clicking? By pressing F2 or using a context menu?

Best regards

Michael



AD Administrator Syncfusion Team July 4, 2008 07:22 AM UTC

Hi Michael,

Yes. It is possible to rename tab using contextmenu and this can be achieved by deriving TabControlAdv and use StartLabelEdit method as shown in the attachment below.

http://websamples.syncfusion.com/samples/Tools.windows/F74617/main.htm

Please let me know if this helps you.

Regards,
Jaya





AD Administrator Syncfusion Team July 4, 2008 09:38 AM UTC

Hi Jaya,

yes - that works perfect!

Thank's a lot & best regards

Michael



AD Administrator Syncfusion Team July 7, 2008 07:02 AM UTC

Hi Michael,

Thanks for the update. Please let me know if you have any further issues.

Regards,
Jaya


Loader.
Live Chat Icon For mobile
Up arrow icon