[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Dialogs' (#lcl)

# TFontDialog.Font

Contains the Font selected in the dialog.

## Declaration

Source position: dialogs.pp line 449

`published property TFontDialog.Font : TFont read FFont write SetFont;`

## Description

Font is a TFont property with the font selected using the dialog. The value in Font is updated in widgetset classes when the OK or Apply button is clicked during execution of the dialog. It includes any attributes applied to font in the native font selection dialog for the platform.

Use the OnApplyClicked event handler to perform actions needed when the Apply button is enabled and clicked in the dialog.

## See also

TFontDialog.Options |  | A set of TFontDialogOption options enabled for the dialog.
TFontDialog.OnApplyClicked |  | Event handler signalled when the Apply button is clicked in the font dialogs.
TFontDialog.ApplyClicked |  | Performs actions needed when a font is selected using the dialog.
TFont |  | Represents a font used to draw text in an application.