SCOLS( ) Function
Returns the number of columns available in the main Microsoft Visual FoxPro window.
SCOLS( )
Return Value
Numeric
Remarks
The value returned by SCOLS( ) depends on the current display mode. Display modes can be changed with SET DISPLAY.