Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper Tools . Books 1-3 - <b>wcenter()</b> http://www.X-Hacker.org [<<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()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson