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.
Unfortunately, activation email could not send to your email. Please try again.

How to initiate tab page label edit by code?

Thread ID:

Created:

Updated:

Platform:

Replies:

95299 Jun 30,2010 08:30 AM Jul 5,2010 11:54 PM General Discussion 3
loading
Tags: General Discussion
Artem V. Ozornin
Asked On June 30, 2010 08:30 AM

Hi

I need to initiate editing of tab label by code somehow. I have a context menu attached to the tab and when I choose "Edit caption" item from the menu, label shoul became editable, i.e. should be switched into the edit mode. After that user can type new label and apply changes in common way. The main thing I couldn't find a solution for is enabling of edit-mode by code.

Could you help me with this problem?


Karikalan N [Syncfusion]
Replied On July 2, 2010 04:35 AM

Hi,

Thanks for using Syncfusion Products.

You can edit the Tab page label at runtime using the following property.

// Renaming TabControlAdv’s Text.
this.tabControlAdv.LabelEdit = true;

Here is the UG link which makes you clearer how to edit the label in Tabpage.

http://help.syncfusion.com/ug_82/WindowsFormsUI_Tools/TabItemsCustomization.html

Please let me know if you need further assistance on this.

Thanks,
Karikalan N

Artem V. Ozornin
Replied On July 2, 2010 07:14 AM

Hi,

This is not exactly what I mean.
I need to bring the tab into the edit mode (not enable of editing as you described). I need to make something to bring the tab into the state like after double-click (label should be selected and editable) without clicking on mouse button.

Thanks.

Lingaraj S [Syncfusion]
Replied On July 5, 2010 11:54 PM

Hi Artem,

Thank you for the update.

Regret for the inconvenience. Currently TabControlAdv does not have support to enable the Label edit through code.

Please let me know if you have any queries.

Regards,
Lingaraj S.

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.

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.

;