Previous Next Up Title Contents Index Functions Index Top Library

SET BACKGROUND COLOR INDEX

PXSBCI


CALL SEQUENCE

CALL PXSBCI (IWKID, ICOLOR)

INPUT PARAMETERS

INTEGER IWKID
Workstation identifier
INTEGER ICOLOR
Background color index

EFFECT

Specify the background color index.

This function sets the background color index.

The color index is used to index into the color table on the specified workstation. If the specified color index is beyond the actual range supported by the workstation, color index 1 will be used.

The specified background color will take effect at the next regeneration (immediately, if the deferral mode is ASTI or ASAP). The normal way of changing the workstation background color is to change the color representation of color index 0 using Set Color Representation (routine PSCR). On most systems, this changes the color immediately, regardless of the display update state.

ERRORS

54
Ignoring function, the specified workstation is not open.
59
Ignoring function, the specified workstation is not of category OUTPUT or of category OUTIN.

SEE ALSO

Color table definition, see PSCR

Open workstation, see POPWK

Inquire color table definition, see PQCR


Previous Next Up Title Contents Index Functions Index Top Library