defaultMdi

Type: Boolean

Availability: Read or write at any time

The defaultMdi property of the Application class specifies whether forms defined with the mdiChild property set to MdiChild_UseAppDefault (0) are created as Multiple Document Interface (MDI) forms. The defaultMdi property enables the style of application to be determined by the user.

The mdiChild property should be set to MdiChild_UseAppDefault (0) for all forms that do not specifically have to be MDI or non-MDI forms, so that the style of forms can be provided as a user option for the application.

You can also set this property in a method before a form create instruction, to control the style of form that is created when the form has the mdiChild property set to MdiChild_UseAppDefault (0).