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>wlastcol()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 WLASTCOL()
 Returns the position of the rightmost column of the active window
------------------------------------------------------------------------------
 Syntax

     WLASTCOL([<lAfterWCENTER>]) --> nColumn

 Argument

     <lAfterWCENTER>  Designates an optional parameter.  If this
     parameter is .T., the function returns what the position of the
     rightmost column would be after a call of WCENTER().  (This function
     does not call WCENTER().)  The default value (.F.) returns the current
     position.

 Returns

     WLASTCOL() returns the position of the rightmost window column, relative
     to the physical screen.

 Description

     The WCOL() function allows you to determine the leftmost column (left
     border) of a window.  To avoid complex calculations, you can use the
     WLASTCOL() function to determine the rightmost column (right border) of
     a window.

     The returned value can be greater than that of the rightmost column of
     the screen.  In such an instance, the window overlaps the right border.

     Additionally, by setting the logical parameter to .T., the position a
     window occupies after a call of WCENTER() is returned without actually
     calling WCENTER().

 Example

     A window is moved:

     ? WLASTCOL() > MAXCOL()     // .T.  Window overlaps border


See Also: WCOL()

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