Previous: 4.72.2.18. TextBackGround To the Table of Contents Next: 4.72.2.20. TrackCursor
4.72.2.18. TextBackGround Table of Contents 4.72.2.20. TrackCursor

- 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


Previous: 4.72.2.18. TextBackGround To the Table of Contents Next: 4.72.2.20. TrackCursor
4.72.2.18. TextBackGround Table of Contents 4.72.2.20. TrackCursor

- 4.72.2.19. -