SROWS( ) Function
Returns the number of rows available in the main Visual FoxPro window.
SROWS( )
Return Value
Numeric
Remarks
In Visual FoxPro for Windows, the value returned by SROWS( ) depends on the current display mode. The display mode can be changed with SET DISPLAY.
Example
CLEAR
? SROWS( )