Previous Topic

Next Topic

Inhoudsopgave

Book Index

TFontDialog Component

TFontDialog

Description

Displays a font selection dialog.

Remarks

TFontDialog displays a modal Windows dialog box for selecting fonts. The dialog does not appear at runtime until it is activated by a call to the Execute method. When the user selects a font and clicks OK, the dialog closes and the selected font is stored in the Font property.

TFontDialog Properties

Property Property Font: Font object (R)

Indicates the selected font. When the user selects a font in the dialog box and clicks OK, the selected font becomes the value of the Font property. To make a default font appear in the dialog when it opens, assign a value to Font.