Vcl.Samples.Calendar.TCalendar.Font

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Font: TFont read FFont write SetFont stored IsFontStored;

C++

__property Font;

Properties

Type Visibility Source Unit Parent
property published
Vcl.Samples.Calendar.pas
Vcl.Samples.Calendar.hpp
Vcl.Samples.Calendar TCalendar

Description

Specifies the attributes of text written on or in the control.

Vcl.Samples.Calendar.TCalendar.Font inherits from Vcl.Controls.TControl.Font. All content below this line refers to Vcl.Controls.TControl.Font.

Specifies the attributes of text written on or in the control.

To change to a new font, specify a new TFont object. To modify a font, change the value of the Charset, Color, Height, Name , Pitch, Size, or Style of the TFont object.

Note: Changing the font color of the Caption is not supported for some controls (such as TButton). In most cases, there is an alternate control you can use whose Font property will change the color of the caption or text (such as TBitBtn or TSpeedButton).

See Also

Code Examples