Previous: Sound procedure To the Table of Content Next: TextColor procedure

- 4.8.3.19 -
Standard Units
Crt Unit
CRT Unit Procedures and Functions

TextBackGround procedure

Targets: MS-DOS, OS/2, Win32


CRT Unit, WinCRT Unit

Selects the background color.

Declaration:
procedure TextBackground(Color: Byte);
Remarks:
Color is an integer expression in the range 0..7, corresponding to one of the first eight text color constants. TextBackground sets bits 4-6 of TextAttr to Color.

The background of all characters subsequently written will be in the specified color.

See also:
Color Constants


Previous: Sound procedure To the Table of Content Next: TextColor procedure
Sound procedure Table of Content TextColor procedure

- 4.8.3.19 -