[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
MAXCOL()
Determine the maximum visible screen column
------------------------------------------------------------------------------
Syntax
MAXCOL() --> nColumn
Returns
MAXCOL() returns the column number of the rightmost visible column for
display purposes.
Description
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().
Examples
. This example uses MAXROW() and MAXCOL() to determine the area
in which to draw a box, and then executes DBEDIT() within the box
region:
CLS
@ 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