DADiSP Worksheet Functions > Function Categories > Colors > WINCOLOR

 

WINCOLOR

Purpose:

Modifies the background Window color.

Syntax:

WINCOLOR(win, bgcolor , sercolor)

win

-

Optional. One or more Window references. Defaults to the current Window.

bgcolor

-

An integer. The background Window color. Any pre-defined macro name or integer for a supported color.

sercolor

-

Optional. An integer, the series color. Any pre-defined macro name or integer for a supported color.

Example:

wincolor(green, blue)

 

sets the current Window's series color to blue and background Window color to green.

Example:

wincolor(lred)

 

changes the Window color to light red without altering the series color.

Example:

wincolor(W1.., lred)

 

changes all the Window colors to light red without altering the series color.

Remarks:

For a list of supported colors use the MACROS function.

See Also:

COLORSTR

DEFCOLOR

GETWCOLOR

SERCOLOR

SETCOLOR