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

TabbedMDIManager and Window Caption

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.

1 Reply

AD Administrator Syncfusion Team 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

Live Chat Icon For mobile
Up arrow icon