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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TacControlAdv, putting tab on a renaminig state programmatically

Thread ID:

Created:

Updated:

Platform:

Replies:

74617 Jun 23,2008 09:44 AM UTC Jul 7,2008 07:02 AM UTC WinForms 5
loading
Tags: Tools
a.b
Asked On June 23, 2008 09:44 AM UTC

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



Poly J [Syncfusion]
Replied On 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



Administrator [Syncfusion]
Replied On 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


Administrator [Syncfusion]
Replied On 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




Administrator [Syncfusion]
Replied On July 4, 2008 09:38 AM UTC

Hi Jaya,

yes - that works perfect!

Thank's a lot & best regards

Michael


Administrator [Syncfusion]
Replied On 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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;