Viva Clipper !

C5_MAXROW

Advertisements
 MAXROW()
 Determine the maximum visible screen row
------------------------------------------------------------------------------
 Syntax

     MAXROW() --> nRow

 Returns

     MAXROW() returns the row number of the bottommost visible row for
     display purposes.

 Description

     MAXROW() is a screen function that determines the maximum visible row of
     the screen.  Row and column numbers start at zero in Clipper.

     If you use a C or other extended function to set the video mode, use the
     SETMODE() function so your Clipper application returns the correct
     value for MAXCOL().

 Examples

     .  This user-defined function, ScreenSize(), uses MAXROW() and
        MAXCOL() to return an array containing the current screen size:

        FUNCTION ScreenSize
           RETURN { MAXROW(), MAXCOL() }

 Files   Library is CLIPPER.LIB.

See Also: COL() MAXCOL() ROW()

 

Advertisements

Advertisements