[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
+---------------------------------+
| WLCOL |
+---------------------------------+
WLCOL([<window name>])
-----------------------------------
Returns the screen column location of window.
Return value - Logical
-----------------------------------
WLCOL() returns the column location of the left border of a window. The
column location is always relative to the screen.
Note that the value returned by WLCOL() is dependent on the current
video display mode. The display mode may be changed with SET DISPLAY.
Also note that windows may be positioned off the screen. In this case
negative values are returned by WLCOL() if the window is to the left of
the screen, and values greater than the screen width are returned if the
window's left border is to the right of the screen.
<window name>
If a <window name> isn't included, the column location of the left
border of the active output window is returned. If a window isn't
active, the column location of the screen is returned. This is always
0. If the null string is included as the <window name>, the column
location of the screen (0) is also returned.
Note that the null string may be used to specify the screen in
functions that return window locations or sizes (WLCOL(), WLROW(),
WCOLS(), WROWS(), etc.). The screen, which underlies all System and
user-defined windows, is sometimes called the desktop.
If you include a <window name> in WLCOL(), the column location of the
left border of the specified window is returned. WLCOL() may be used to
return the column location of the left border of a FoxPro system window.
If a FoxPro system window (the Command window, the View window, ASCII
Chart, a Browse window ... ) has been opened and is visible or is hidden
(its name appears in the Window menu), you may include its name in
WLCOL(). If you include the name of a FoxPro system window that is
closed, the alert "WINDOW has not been defined." is displayed. The
Debug window is an exception. Once the Debug window has been opened,
its name may be included in WLCOL() if it is visible, hidden or closed.
-----------------------------------
See Also: SET DISPLAY, WCOLS(), WLROW(), WROWS()
-----------------------------------
See Also:
SET DISPLAY
WCOLS()
WLROW()
WROWS()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson