Lingo Dictionary > T-Z > windowType |  |

windowType

Syntax

    window whichWindow.windowType
    the windowType of window whichWindow

Description

Window property; controls the display style of the window specified by `whichWindow`, as follows:

| 0—Movable, sizable window without zoom box
| 1—Alert box or modal dialog box
| 2—Plain box, no title bar
| 3—Plain box with shadow, no title bar
| 4—Movable window without size box or zoom box
| 5—Movable modal dialog box
| 8—Standard document window
| 12—Zoomable, nonresizable window
| 16—Rounded-corner window
| 49—Floating palette, during authoring (in Macintosh projectors, the value 49 specifies a stationary window)

You can set this property before opening the window. Numbers 6, 7, 9, 10, 11, 13, 14, 15, and 17 through 48 have no effect when used as the `windowType` value.

You can change the `windowType` setting after a window has been opened, but a delay may occur while the window is redrawn.

If no `windowType` setting is specified, a value of 0 is used.

In Microsoft Windows, these numbers create windows with the same functionality jsut described, but with a Windows appearance. Other values for `windowType` are possible, but use them with caution, because some modal windows can be exited only when you restart the computer.

Example

This statement sets the value of the display style of the window named Control Panel to 8:

    window("Control Panel").windowType = 8