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.

TabbedMDIManager and Window Caption

Thread ID:





16165 Jul 7,2004 10:07 AM Jul 7,2004 02:25 PM Windows Forms 1
Tags: Tools
Daniel Chait
Asked On July 7, 2004 10:07 AM

How can I get the caption of the MDI parent to take on the proper MDI title - as in "AppName - [Document]"? It seems that I need to set the MDIChild Form to be Maximized in order to achieve this, which in turn seems to really mess up the Tabbed MDI. Thanks.

Administrator [Syncfusion]
Replied On July 7, 2004 02:25 PM

Hi Daniel You could do this in the MDI Parent form''s MdiChildActivate event as demonstrated in the following code snippet: this.MdiChildActivate += new System.EventHandler(this.MDIChildActivated); protected void MDIChildActivated(object sender, System.EventArgs e) { if (this.ActiveMdiChild != null) { this.Text = "Application Name-" + "[" + this.ActiveMdiChild.Text + "]"; } } Regards Arun


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.