mdiFrame

Type: Boolean

Availability: Read or write at any time, but changing the value after the form has been built has no impact

The mdiFrame property of the Form class causes the form to always be built as an MDI frame form when the value is set to true, regardless of the setting of the mdiFrame property of the Application class. An MDI frame is a special type of form that can contain one or more MDI child forms.

By default, MDI child forms are placed in a default MDI frame supplied automatically by JADE.

The mdiFrame property of the Application class can be used to control which form is the next MDI frame. Any MDI child forms built after this point are placed in that MDI frame. If the MDI frame form is not already active as an MDI frame, it is automatically created and displayed when the MDI child form is created and displayed. The application can have any number of currently active MDI frames.

An MDI frame automatically creates a child client window that covers the non-border area of the frame when the first MDI child form is created. The child MDI forms are placed inside this client window. If the MDI frame is defined with controls, the child client window is automatically placed into an empty area of the form.

An MDI frame form has sizable borders, regardless of the borderStyle property value for the form in Painter.

The moveMdiClient method for forms enables client windows to be positioned as required; for example, below toolbars and above status lines. Call the moveMdiClient method from the resize method of the form.