SETMODE() Change display mode to a specified number of rows and columns ------------------------------------------------------------------------------ Syntax SETMODE(<nRows>, <nCols>) --> lSuccess Arguments <nRows> is the number of rows in the desired display mode. <nCols> is the number of columns in the desired display mode. Returns SETMODE() returns true (.T.) if the mode change was successful; otherwise, it returns false (.F.). Description SETMODE() is an environment function that attempts to change the mode of the display hardware to match the number of rows and columns specified. The change in screen size is reflected in the values returned by MAXROW() and MAXCOL(). Note: In LLG_VIDEO_TXT mode, and when a VESA driver is present, it is possible to use the following values : 25,80 | 43,80 | 50,80 | 60,80 | 25,132 | 43,132 | 50,132 | 60,132 Examples . This example switches to a 43-line display mode: IF SETMODE(43, 80) ? "43-line mode successfully set" ELSE ? "43-line mode not available" ENDIF . This example switches the video mode to regular text mode with 60 rows and 132 columns: // Switch to text mode SET VIDEOMODE( LLG_VIDEO_TXT ) // Set the video mode to the largest number of characters SETMODE( 60,132 ) Files Library is CLIPPER.LIB.
See Also: SET VIDEOMODE
Pingback: C5 UI Global Settings | Viva Clipper !