How to enter edit mode to change tab names from a contextmenu

One way to change a tab names is to double click on the tab.

I want to get into edit mode by right click on a tab and select Change name in a context menu.

How do I call edit mode from a context menu to get tab name to change the name?


Regards

Thomas Ellingsen


7 Replies

SN Sudharsan Narayanan Syncfusion Team August 24, 2021 03:28 AM UTC

Hi Thomas,

Thanks for contacting syncfusion support,

We have checked the reported issue that “Change Name in ContextMenu” from our end. We have prepared the sample to achieve the requirement. Please check the sample from the below location,

Sample:
https://www.syncfusion.com/downloads/support/forum/168237/ze/TabControlContextMenu-1695390416

Please try with the above solution and let me know your concerns on this. We are happy to assist you.

Regards,
Sudharsan



TE Thomas Ellingsen August 26, 2021 06:01 PM UTC

Hi,

Can you send a sample in vb.net?

I have trying created a class but it not working. Startedit is not a member of 'TabControlAdv'.


        TabControlAdv1.LabelEdit = True

        TabControlAdv1.startedit()


and my class


Public Class MyTabcontrol


    Inherits Syncfusion.Windows.Forms.Tools.TabControlAdv


    Public Sub New()

        MyBase.New()

    End Sub


    'Sets the TabPageAdv in the edit mode.

    Public Sub StartEdit()

        StartLabelEdit()

    End Sub


End Class



SN Sudharsan Narayanan Syncfusion Team August 30, 2021 03:10 AM UTC

Hi Thomas,

Thanks for the update,

As you requested the requirement sample in VB Project. We have added the sample and replication video below, Please find both links from the below location,

VB Sample: https://www.syncfusion.com/downloads/support/directtrac/168237/ze/VBContextMenu-858794231

Video: https://www.syncfusion.com/downloads/support/directtrac/168237/ze/VBContextMenuVideo-1530493096

Please check the above sample and video and let me know your concerns. We are happy to assist you.

Regards,
 
Sudharsan


TE Thomas Ellingsen replied to Sudharsan Narayanan August 30, 2021 07:17 AM UTC

Access Denied

Can not download files.


Regards

Thomas Ellingsen



SN Sudharsan Narayanan Syncfusion Team August 30, 2021 07:55 AM UTC

Hi Thomas,

Sorry for the
inconvenience,

Please try this below VB sample link,

VB Sample: https://www.syncfusion.com/downloads/support/forum/168237/ze/VBContextMenu-1954415531

Video: https://www.syncfusion.com/downloads/support/forum/168237/ze/VBContextMenuVideo-1195699228

Please let me know If you have any concerns on this.

Regards,
 
Sudharsan 



TE Thomas Ellingsen replied to Sudharsan Narayanan August 30, 2021 10:45 AM UTC

Have tested the sample now and it works great. Thanks for helping.



SN Sudharsan Narayanan Syncfusion Team August 31, 2021 04:57 AM UTC

Hi Thomas,

 
Thanks for the update.

 
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you😊.

 
Regards, 
Sudharsan 


Loader.
Up arrow icon