SCols(), SRows()
These two functions tell you about the size of the main Visual FoxPro window with respect to the current font. You can find similar (sometimes the same) information using the system variable _SCREEN and its properties Height and Width.
Usage |
nScreenCols = SCOLS() nScreenRows = SROWS() |
Example |
nRows=SROWS() nCols=SCOLS() ? SROWS(),SCOLS() _SCREEN.FontName="Courier New" ? SROWS(),SCOLS() _SCREEN.FontSize=14 ? SROWS(),SCOLS() |
See Also |
FontBold, FontItalic, FontMetric(), FontName, FontSize, Height, Modify Window, ScaleMode, _Screen, SysMetric(), WFont(), Width |