The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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.
ADAdministrator 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