Vcl.Forms.TApplication.DefaultFont

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DefaultFont: TFont read FDefaultFont write SetDefaultFont;

C++

__property Vcl::Graphics::TFont* DefaultFont = {read=FDefaultFont, write=SetDefaultFont};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TApplication

Description

Specifies the default font used by the application.

DefaultFont specifies the default font used by the application. All newly created forms use DefaultFont if the ParentFont property is set to True. Changing DefaultFont later at run-time will trigger an update for all forms that use the parent font.

See Also

Code Examples