FontName Property

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

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

Usage

GGet Form.Control.FontName, var  
GSet  Form.Control.FontName, 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
String variable that will contain the value of the property.
value
String expression for the new value of the property.

Values
A string containing the name of the font.
Default: Microsoft Sans Serif

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 , FontSize Property , FontItalic Property , FontBold Property

Example

GSet frmMain.txtStatus.FontName, "Courier New"