[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 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().

 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

 Files:  Library is CLIPPER.LIB.

See Also: MAXCOL() MAXROW()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson