Sets font properties to their default values.
Source position: graphics.pp line 571
public procedure TFont.SetDefault; |
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:
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.
|
Default font data used for new TFont instances. |
|
|
Starts an update process for the class instance. |
|
|
Finishes an update process for the class instance. |
Lazarus Component Library (LCL) | Version 3.99-1d79f9e4df (2024-03-21) | Home |