FontSize Property

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

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 Control , Label Control , TextBox Control , RadioButton Control , CheckBox Control , ListBox Control , ComboBox Control , GroupBox Control , LED Control , StatusBar Control , Tree View Control , FontName Property , FontItalic Property , FontBold Property

Example

GSet frmMain.btnOK.FontSize, 16