Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
MDI Applications
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
MDI Applications
■ Multiple Document Interface (MDI) applications use a single container
form as the background for the entire application. Visual Basic allows you
to designate a container form upon which child forms may be placed. For
example, in the Visual Basic programming environment, all windows and
dialog boxes are contained within one form and are considered "children"
of the form. See: ◄Parent and Child Relationships►
■ The container form for an MDI application is specified by setting the
FormType property at design time. Only menu controls can be added to the
container form. This is done by choosing Menu Design Window from the
Window menu in the Form Designer.
See: ◄Creating a Menu► ◄FormType Property► ◄Menu Control►
■ Once created, the container form is always maximized. The Move, Size,
Minimize, and Restore commands are disabled on the container form's
Control menu; however, the Control menu can be used to close the container
form. Note: The shortcut key for the Close command on the MDI container
form is Alt+F4 rather than Ctrl+F4, as it is for other forms.
See: ◄Control Menu Definition►
See: ◄Building an Application►