Icon TGenericFontFamily

Unit: WebUI

TGenericFontFamily = (gfSansSerif,gfSerif,gfMonospace,gfCursive,
      gfFantasy)

Available In: Client Applications

The TGenericFontFamily enumerated type is used with the TFont class to specify the generic font family for the fonts used in UI elements and controls. The generic font family is used as a fall-back if a specified font name is not available on the operating system that is hosting the web browser.

Information At design-time, the IDE will automatically set the generic font family when the font name is changed for a TFont class instance, so in most cases you will never need to modify the generic font family.


ElementDescription
gfCursiveThe cursive generic font family, which includes script fonts.
gfFantasyThe fantasy generic font family, which includes decorative fonts.
gfMonospaceThe monospace generic font family, which includes all fixed-width fonts.
gfSansSerifThe sans-serif generic font family, which includes all fonts with plain stroke endings.
gfSerifThe serif generic font family, which includes all fonts with flared or decorative stroke endings.
Image