Each workspace has a set of MDI windows attached (logically connected) to it. The set of windows attached to a workspace always contains a program window and may also contain an error log window, data view windows, and output windows. Whereas there is always a one-to-one correspondence between a program window and a workspace and between an error log window and a workspace, data view and LISTING output document windows are different for the following reasons:
Note: There is always a one-to-one correspondence between an HTML output window and a workspace.
The following table shows the circumstances under which IML Studio attaches a new data view window to the active workspace:
| Method by which data view window is created | Attached to active workspace automatically? |
|---|---|
| Programmatically by an IMLPlus program | Yes |
| Via Analysis menu items | Yes |
| Via menu item File4Stored Items (Matrices tab) | Yes |
| Via menu item File4New4Data Set | Yes |
| Via menu item File4New4Data Set from Selected Data | Yes |
| Via menu item File4New4Matrix | Yes |
| Via menu item File4Open4File | No, unless Attach to active workspace option is selected |
| Via menu item File4Open4Server Data Set | No, unless Attach to active workspace option is selected |
| Via menu item File4Recent Data Sets4Filename | No |
The following table shows the circumstances under which IML Studio attaches a new LISTING output document window to the active workspace:
| Method by which LISTING output document window is created | Attached to active workspace automatically? |
|---|---|
| Programmatically by an IMLPlus program | Yes |
| Via Analysis menu items | Yes |
| Via menu item File4New4LISTING Output Document | Yes |
| Via menu item File4Open4File | No, unless Attach to active workspace option is selected |
| Via menu item File4Recent LISTING Output Documents4Filename | Yes |
If you want to use a particular LISTING output document window in more than one workspace, you can attach the window to additional workspaces.
To attach LISTING output document windows to a workspace
IML Studio will display the Configure Program dialog box.
IML Studio will display the Attach LISTING Output Documents dialog box.
You can select multiple items either by holding down the CTRL key while you click the left mouse button or by holding down the SHIFT key while you press the UP or DOWN arrow keys.
You can also detach LISTING output document windows from a workspace.
To detach a LISTING output document window from a workspace
IML Studio will display the Configure Program dialog box.
If the workspace from which you just detached the window is the last workspace to which the window was attached and the window's Auto Close property is turned on, IML Studio will attempt to close the window. If the window's content changed since the last time it was saved, IML Studio will ask you whether you want to save those changes. If you click Cancel, IML Studio will not close the window and will turn off the window's Auto Close property. The window will, however, be detached from all workspaces.