[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Determine the maximum visible screen column

     MAXCOL() --> nColumn


     MAXCOL() returns the column number of the rightmost visible column for
     display purposes.


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

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


     .  This example uses MAXROW() and MAXCOL() to determine the area
        in which to draw a box, and then executes DBEDIT() within the box

        @ 0, 0 TO MAXROW(), MAXCOL() DOUBLE
        DBEDIT(1, 1, MAXROW() + 1, MAXCOL() - 1)

 Files   Library is CLIPPER.LIB.

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