Previous: SetAspectRatio procedure To the Table of Content Next: SetColor procedure

- 4.37.2.97 -
Standard Units
Graph Unit
Graph Unit Procedures and Functions

SetBkColor procedure

Targets: MS-DOS, Win32
Graph Unit

Sets the current background color, using the palette.

Declaration:
procedure SetBkColor(ColorNum: Word);
Remarks:
Background color must be in range range [0.. GetMaxColor], depending on the current graphics driver and the current graphics mode. The background color is used by the ClearViewPort and ClearPage procedures. SetBkColor does not change the first color in the active palette! To change it, use the GetRGBPalette and SetRGBPalette procedures.


Previous: SetAspectRatio procedure To the Table of Content Next: SetColor procedure
SetAspectRatio procedure Table of Content SetColor procedure

- 4.37.2.97 -