MaxRow() - get the maximum rows in a window or application window
Enhances the CA-Clipper MaxRow() function
──────────────────────────────────────────────────────────────────────────────

Syntax

MaxRow( [<lMode>] ) --> nRows

Arguments

<lMode> when passed a .F. or nothing returns the number of rows within
the currently active window (default). When passed a .T., returns the
numbers of rows within the application window.

Returns

A numeric value representing the number of rows within the current
window or the application window.

Description

MaxRow() replaces the existing CA-Clipper function of the same name. By
default this function will return the number of rows within the current
window.

Without MrWindow, this is always the application window (or Window 0).

By using MrWindow and opening your own windows, MaxRow() may return
different values depending upon the size of the currently active window.

To get the number of rows available in the application window, you can
pass a value of .T. to this function.

Example

Display the highest row number:

wOpen(20, 20, 40, 50)
? MaxRow() // returns a value for the window
? MaxRow(.T.) // retruns a value for the application window size

Files: Library is MRWINDOW.LIB.