Returns or sets the font used to display text. At design time this property changes or gets the font name of the complete text. At runtime this property determines the font of the selected text when the FormatSelection property has been set to True. When the FormatSelection property has been set to False the font of the complete text is set or returned.
TXTextControl.FontName [= string]
The property returns an empty string if the selected text contains different fonts. This can happen only at runtime and when the FormatSelection property has been set to True.
String.
<< TXTextControl.FontItalic Property | >> TXTextControl.FontSettings Property