MDI programs
When opening multiple forms within one running HBasic application they
will normally be created as standalone windows on your current desktop.
For a complex application if may be more usefule to create all forms of
your application as subforms of one big window. We will call this a
multiple document interface (MDI) application.To change your current
HBasic application to a MDI application execute the following steps.
- Open the project window with a mouseclick of the right mouse
button on the project entry in the project tree

- Select the checkbox named MDI mainwindow

This will open a new source code window and create a new entry in the
project tree in the global source section. If you start the interpreter
now HBasic will open all form windows within a larger MDI window frame.