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

Loader.
Up arrow icon