Previous: 4.8.2.18. Sound procedure To the Table of Contents Next: 4.8.2.20. TextColor procedure
4.8.2.18. Sound procedure Table of Contents 4.8.2.20. TextColor procedure

- 4.8.2.19. -
Table of Contents
4. Standard Units
4.8. CRT - Keyboard and monitor control routines
4.8.2. CRT Unit Procedures and Functions
4.8.2.19. TextBackground procedure


4.8.2.19. 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: 4.8.2.18. Sound procedure To the Table of Contents Next: 4.8.2.20. TextColor procedure
4.8.2.18. Sound procedure Table of Contents 4.8.2.20. TextColor procedure

- 4.8.2.19. -