- 4.37.2.91. -
Table of Contents
4. Standard Units
4.37. Graph - Graph unit
4.37.2. Graph Unit Procedures and Functions
4.37.2.91. RestoreCrtMode procedure
4.37.2.91. RestoreCrtMode procedure
Targets: MS-DOS, Win32
Graph Unit
Restores the original screen mode before graphics was
initialized the first time.
Declaration:
procedure RestoreCrtMode;
Remarks:
Restores the original video mode detected by first
SetGraphMode or
SetSVGAMode execution.
Can be used in conjunction with
SetGraphMode and
SetSVGAMode
to switch back and forth between text and graphics modes.
Win32 target:
RestoreCrtMode destroys a graphic surface (window)
and restores the original video mode.
- 4.37.2.91. -