WFLastCol() - returns position of rightmost col of formatted window
returns position of rightmost col of formatted window
──────────────────────────────────────────────────────────────────────────────

Syntax

WFLastCol( [ <lRelative> ] [, <nWindow> ] ) --> nValue

Arguments

<lRelative> optional parameter when passed a .T. returns absolute value
of wLastCol() - WFLastCol() otherwise returns the rightmost column
available in a formatted window

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

Returns

WFLastCol() returns a numeric value of either the difference between the
border of a window and the formatted area of the window, or the
rightmost column of a formatted window.

Description

This function may be used to get the coordinate of the rightmost column
of a formatted window. If not window is specified then the currently
active window is used.


Files: Library is MRWINDOW.LIB.