Language:
Русский
English
SetBkColor (procedure) (Graph unit)
Sets the current background color, using the palette.
Declaration
procedure SetBkColor(ColorNum: Word);
Target
Real, Protected
Remarks
Background colors range from 0 to 15, depending on the current graphics driver and current graphics mode. On a CGA, SetBkColor sets the flood overscan color.
SetBkColor(N) makes the Nth color in the palette the new background color. The only exception is SetBkColor(0), which always sets the background color to black.
Restrictions
Must be in graphics mode.