DynamicFontSize Property

Specifies the font size for text displayed in a Column object. Available at design time; read/write at run time.

Column.FontSize [= "nSize"]

Return Value

  • "nSize"
    Specifies a numerical expression that evaluates to a font size. The default font size is 10 points. The maximum value for nSize is 2,048 points. The font size is reevaluated at run time each time the Grid control is refreshed.

    Note

    There are 72 points in 1 inch.

Remarks

Applies To: Column Object

You can use this property to change the font size of a row.

Note

The Grid AutoFit method might not resize adequately to display the entire contents of a column if you use this property.

See Also

Reference

DynamicAlignment Property
DynamicFontName Property
DynamicFontBold, DynamicFontItalic, DynamicFontStrikethru, DynamicFontUnderline Properties

Other Resources

Properties (Visual FoxPro)
Language Reference (Visual FoxPro)