MDIForm Object Changes in Visual Basic .NET
In Visual Basic 6.0, an MDIForm was a special type of form that acted as a container for an MDI application. In VisualBasic .NET, an MdiForm is any form with the IsMdiContainer property set to true.
In Visual Basic 6.0, setting the MDIChild property on a child form identified it as a child of the MDI form; an MDI application could have only one MDI form. In Visual Basic .NET, the MdiParent property replaces the MDIChild property and identifies the MDI form that will contain the child form; MDI applications can have multiple MDI containers.
The following table lists Visual Basic 6.0 properties and methods and their Visual Basic .NET equivalents. Only properties and methods that are unique to the MDIForm object are listed — for other properties, methods, and events see Form Object Changes in Visual Basic .NET.
MDIForm Properties and Methods
|Visual Basic 6.0||Visual Basic .NET Equivalent|
|AutoShowChildren property||No equivalent. For more information, see MDI form Show behavior has changed.|
|BackColor property||No equivalent. The BackColor for an MDI form will always be the default.|
|Picture property||No equivalent. MDI forms in Visual Basic .NET cannot display pictures.|