FontSize Property

Applies To
Button, Label, TextBox, RadioButton, CheckBox, ListBox, ComboBox, GroupBox, LED, StatusBar

Description
Gets or sets the font size of the text used on a control.

Usage

GGet Form.Control.FontSize, var  
GSet  Form.Control.FontSize, value  
Form
Name of a form or string variable containing a form name.
Control
Name of a control or string variable containing a control name.
var
Real variable that will contain the value of the property.
value
Real expression for the new value of the property.

Values
The value of the font size in points.
Default: 8.25

See Also
Button, Label, TextBox, RadioButton, Checkbox, ListBox, ComboBox, GroupBox, LED, StatusBar, FontName, FontItalic, FontBold

Example

GSet frmMain.btnOK.FontSize, 16