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

Tab text not changed in TabbedMdiManager

Thread ID:





14730 Jun 3,2004 09:14 AM UTC Jun 3,2004 09:01 PM UTC WinForms 1
Tags: Tools
Asked On June 3, 2004 09:14 AM UTC

Hello, I am using TabbedMdiManager and DockingManager in my application. I used the following code to change the Tab text in the application. this.dockingManager.SetDockLabel((Control)form,rename.NewFeatureName); ((Form)form).Text = rename.NewFeatureName; ((Form)form).Name = rename.NewFeatureName; ((Form)form).Parent.Name = rename.NewFeatureName; Actually the tab name gets changed but it is not immediatelly reflected in the tab(UI). If i change the tab to floating or docking state, the new name appears. How can i resolve this problem. Thanks, Suresh Mani

Administrator [Syncfusion]
Replied On June 3, 2004 09:01 PM UTC

Hi Suresh, When a docking window is in tabbedMDI state, the docked control is hosted within a DockingWrapperForm (which is actually a MDI child of the host form). Hence in a tabbedMDI state if you wish to change the text associated with a tabbedMDI child, change the text associated with the DockingWrapperForm as shown in the code below : // when in TabbedMDI state DockingWrapperForm dwf = dockedCtrl.Parent as DockingWrapperForm; dwf.Text = desiredText; Please refer to the sample attached here that illustrates the same, and let me know if this meets your requirements. Regards, Guru Patwal Syncfusion, Inc.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon