MDI Form

See Also1WKXWZN             PropertiesBT5I7O            Events1526LT7           Methods2DDV0WL


An MDI (Multiple-Document Interface) form is a window that acts as the background of an application and is the container for forms that have their MDIChildBJG7BM property set to True.


You create an MDI form by choosing New MDI Form from the File menu.

An application can have only one MDI form but many MDI childEXWLAX forms.  If an MDI child form has menus, the child form's menu bar automatically replaces the MDI form's menu bar when the child form is active.  A minimized MDI child form appears as an icon within the MDI form.

MDI forms can contain only menu and picture box controls and custom controls that have an Align property.  To place other controls on an MDI form, you can draw a picture box on the form and then draw other controls inside the picture box.  You can use the Print method to display text in a picture box on an MDI form, but you can't use this method to display text on the MDI form itself.

An MDI form cannot be modal1L0L9FR.

Note that MDI child forms are designed independently of the MDI form, but are always contained within the MDI form at run time.


ActiveFormGCUI9X             Icon2S1DMPP                        ScaleWidth3J8U7ZN

ActiveControlJCXG6P          Left1CIZPD6                        ScrollBars1V1TUSJ

CaptionF6ZZXB                   LinkModeM1RK6S                Tag6GI6KP

Enabled3XD4FN                  LinkTopicEVWV3S               Top1CIZPD6

HeightL14VJZ                    MousePointer1VSV6UM         Visible32KNZA4

HelpContextID764PDR        Name2016V9P                     WidthL14VJZ

hWnd1CIW7KQ                     ScaleHeight3J8U7ZN            WindowStateI5APPB




Activate2E06TW                  LinkClose17O5TU0               Load2S1GYBF

Deactivate2E06TW              LinkErrorEGZX07                QueryUnload0HC58S7

DragDrop1EBOJGL               LinkExecute1OO8NGN            Resize2WM7WLP

DragOver2TUGMAC               LinkOpenM1TL81                UnloadY083CJ




Arrange22JZIP                 SetFocus4AVBOY

HideGU6180                       Show2IF9Z3Q

Move103G76J                      ZOrder1YQ29TM


See Also


Creating a Menu Bar1DSHCUG

Using MDI FeaturesHOWMDI

Forms Collection1MV9U5Q

Specifying a Startup Form1NHZZC6

Using Dynamic Data Exchange (DDE)HOWDDE


Programmer's Guide:

Chapter 3, "Creating and Using Controls"

Chapter 8, "Objects and Instances"

Chapter 14, "Multiple-Document Interface (MDI) Applications"