Previous: 4.72.2.17. Sound To the Table of Contents Next: 4.72.2.19. TextColor
4.72.2.17. Sound Table of Contents 4.72.2.19. TextColor

- 4.72.2.18. -
Table of Contents
4. Standard Units
4.72. WinCRT - Text Screen interface unit for Win32
4.72.2. WinCRT Unit Procedures and Functions
4.72.2.18. TextBackGround


4.72.2.18. TextBackGround

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.72.2.17. Sound To the Table of Contents Next: 4.72.2.19. TextColor
4.72.2.17. Sound Table of Contents 4.72.2.19. TextColor

- 4.72.2.18. -