WLastRow() - returns the bottom row of the active window
returns the bottom row of the active window
──────────────────────────────────────────────────────────────────────────────

Syntax

WLastRow( [ <lAfterCentre> ] [, <nWindow> ] ) --> nValue

Arguments

<lAfterwCentre> when passed a .T. returns the bottommost row of the
window after a wCentre has taken place. When passed a .F., returns the
current bottommost row of a window

<nWindow> optional numeric parameter used to specify the window to
apply the function to.

Returns

WLastRow() returns a numeric value representing the position of the
bottom row of the window relative to the physical screen.

If an invalid window is passed down, WLastRow() return -1.

Description

WLastRow() may be used to get the leftmost column of a window.

The optional <lAfterwCentre> may be used to get the position of the
bottommost row, after a wCentre() call has been made, without actually
making the call.

With the optional <nWindow> parameter, WLastRow() may be applied to any
window.

Files: Library is MRWINDOW.LIB.