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

TabbedMDIManager and Window Caption

Thread ID:





16165 Jul 7,2004 02:07 PM UTC Jul 7,2004 06:25 PM UTC WinForms 1
Tags: Tools
Daniel Chait
Asked On July 7, 2004 02:07 PM UTC

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 06:25 PM UTC

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.

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