[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
WCENTER()
Returns a window to the visible screen area, or centers it
------------------------------------------------------------------------------
Syntax
WCENTER([<lCenter>]) --> nCurrentWindow
Argument
<lCenter> Designates the center of the display. If the parameter
is .T., the function computes the center of the display and moves the
window to that position. If the parameter is .F. or if no parameter is
passed, the function returns a window to the visible screen area. The
default value is .F..
Returns
WCENTER() returns the number of the currently selected window.
Description
WCENTER() can take a window that has been moved out of visible range and
make it fully visible. The window can also be centered by passing .T.
for <lCenter>.
Note
. WCENTER() always relates to the currently selected window.
Example
Make nWindow fully visible:
WSELECT(nWindow)
WCENTER()
See Also:
WBOARD()
WOPEN()
WSELECT()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson