SET COLOR OF SCHEME Command

Specifies the colors of a color scheme or copies one color scheme to another color scheme.

SET COLOR OF SCHEME nScheme1 TO   [SCHEME nScheme2 | ColorPairList]

Parameters

nScheme1

Specifies the number of the color scheme you want to change. This can be a value from 1 through 24.

NoteNote

In Visual FoxPro, color schemes 13 through 15 are reserved for internal use. Do not use these color schemes.

TO [SCHEME nScheme2]

Specifies the number of a color scheme to which color scheme nScheme1 is changed.

TO [ ColorPairList]

Specifies up to 10 color pairs you would like to change in your color scheme. You can selectively change colors in a color scheme by including a comma for each color pair that you don't want to change. For example, to change the third color pair in color scheme 1 to bright white and blue and leave the rest of the color settings unchanged, use this command:

 CopyCode imageCopy Code
SET COLOR OF SCHEME 1 TO , , W+/B*

A color pair can also be specified with a set of six RGB (red, green, and blue) color values separated by commas. To change the third color pair in color scheme 1 to bright white and blue and leave the rest of the color settings unchanged, you can use this command:

 CopyCode imageCopy Code
SET COLOR OF SCHEME 1 TO , , RGB(255,255,255,0,0,255)

Expand imageRemarks

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic