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.

Tab text not changed in TabbedMdiManager

Thread ID:

Created:

Updated:

Platform:

Replies:

14730 Jun 3,2004 05:14 AM Jun 3,2004 05:01 PM Windows Forms 1
loading
Tags: Tools
SureshMani
Asked On June 3, 2004 05:14 AM

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 05:01 PM

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.

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.

;