WCol() - returns position of the leftmost column of a window
Returns position of the leftmost column of a window
──────────────────────────────────────────────────────────────────────────────
Syntax
WCol( [ <lAfterwCentre> ] [, <nWindow> ]) --> nCol
Arguments
<lAfterwCentre> when passed a .T. returns the leftmost column of the
window after a WCenter() has taken place. When passed a .F., returns the
current leftmost column of a window
<nWindow> is a optional window number for WCol() to report on. Without
this parameter WCol() uses the active window.
Returns
WCol() returns a numeric value, representing the leftmost column of a
window.
Description
WCol() may be used to get the leftmost column of a window.
The optional <lAfterwCentre> may be used to get the position of the
leftmost column, after a WCenter() call has been made, without actually
making the call.
With the optional <nWindow> parameter, WCol() may be used applied to any
window.
Files: Library is MRWINDOW.LIB.