FontName Property

Determines the font used to display text in a control.

object.FontName as String

Note

The default used for this property is determined by the system. Fonts available vary according to your system configuration, display devices, and printing devices. Font related properties can be set only to values for which fonts exist.

TrueType font names are preceded by in the Property window's list of available fonts.

In general, you should change the FontName property before you set size and style attributes with FontSize, FontBold, FontItalic, and FontUnderline properties.

See Also

FontBold property | FontItalic property | FontSize property | FontUnderline property | Properties

Applies To

Check box control | Combo box control | Command button control | Date combo box control | Frame control | Grid control | Label control | List box control | Menu button control | Option button control | Text box control | TreeView control | NumericCombo control | ListView control | Panel control | Tab control | DataGrid control


© 2004-2021 looksoftware. All rights reserved.