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

     WLASTROW([<lAfterWCENTER>]) --> nRow

 Argument

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

 Returns

     WLASTROW() returns the position of the bottom row, relative to the
     physical screen.

 Description

     The WROW() function allows you to determine the top row (top border) of
     a window.  To avoid complex calculations, you can use the WLASTROW()
     function to determine the bottom row (bottom border) of a window.

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

     By passing the logical parameter as .T., the position of a window after
     a call of WCENTER() can be determined without actually calling
     WCENTER().

 Example

     A window is moved:

     ? WLASTROW() > MAXROW()      // .T.  Window overlaps border


See Also: WROW()

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