TFont.SetDefault procedure
Sets font properties to their default values.
Declaration
procedure SetDefaultDescription
SetDefault is a procedure used to set properties in the font to the
values used in the
DefFontData variable. SetDefault calls
BeginUpdate to start an update process, and sets the values for the
following properties:
- Name
- Charset
- Height
- Pitch
- Quality
- Style
- Color
Color is set to clDefault when the UseCLDefault compiler directive
is defined. Otherwise, the value clWindowText is used in the
property.
EndUpdate is called to finish the update process prior to exiting
from the method.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
