Windows

Sculptor is a flexible windowing environment. The programmer has a wide range of control over the properties of each window defined within a screen form program, with sensible defaults always available. Program code relating to the design and appearance of windows, window controls and window objects is normally created and maintained by means of the Sculptor program designer.

The main program window, known as the task window, is opened as soon as a program loads. Other standard windows are pre-defined within Sculptor for the purposes of displaying error messages, information and user prompts.

Other windows are user-defined. A window is initially defined as a multi-clause declaration with the +|–window command. The window’s initial properties (such as colours and style) can all be modified at run time. A window can be moved to a new screen position, and its viewing size altered. The window may be made visible or invisible at run time, or moved to the foreground to be the current active window.

A window may be defined as +window, in which case it is created during the program initialisation, or as –window, in which case it is created if required at run time with the create command.