- 4.72.2.19. -
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.19. TextColor
4.72.2.19. TextColor
Targets: MS-DOS, OS/2, Win32
CRT Unit, WinCRT Unit
Selects the foreground character color.
Declaration:
procedure TextColor(Color: Byte);
Remarks:
Color is an integer expression in the range 0..15,
corresponding to one of the text color constants defined in CRT.
MS-DOS target:
TextColor sets bits 0-3 to Color.
If Color is greater than 15, the blink bit (bit 7) is also set;
otherwise, it is cleared.
See also:
Color Constants
- 4.72.2.19. -