Previous: TextColor procedure To the Table of Content Next: WhereX function

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

TextMode procedure

Targets: MS-DOS, OS/2, Win32 console


CRT Unit

Selects a specific text mode.

Declaration:
procedure TextMode(Mode: Integer);
Remarks:
When TextMode is called, the current window is reset to the entire screen, DirectVideo is set to True, CheckSnow is set to True if a color mode was selected, the current text attribute is reset to normal corresponding to a call to NormVideo, and the current video is stored in LastMode.
In addition, LastMode is initialized at program startup to the then-active video mode.

Specifying TextMode(LastMode) causes the last active text mode to be re-selected. This is useful when you want to return to text mode after using a graphics package, such as Graph unit.

See also:
TextMode Constants


Previous: TextColor procedure To the Table of Content Next: WhereX function
TextColor procedure Table of Content WhereX function

- 4.8.3.11 -