Function SetScrMode() Foundation

Sets a new video mode.

Syntax
SetScrMode( <nModeID> ;
          ) --> lSuccess
Return

Returns .T. if the new video mode could be set otherwise .F.

Description

The following values can be passed for <nModeID>. However, not all modes are supported by all graphic adapters.

Modes for SetScrMode()
Value Screen mode
0 *) CGA 40 columns, monochrome
1 CGA 40 columns, color
2 *) CGA 80 columns, monochrom
3 CGA 80 columns, color
7 *) Monochrome
299 EGA 43 rows
284 VGA 28 rows
306 VGA 50 rows
  1. Not supported under Windows

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.