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 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().


     .  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()

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.