Table of Contents

TTMSFNCFontNamePicker Class

Drop-down picker component that displays installed font names for selection.

API unit family: TMSFNCFontNamePicker Inherits from: TTMSFNCCustomFontNamePicker

Syntax

TTMSFNCFontNamePicker = class(TTMSFNCCustomFontNamePicker)

Properties

Name Description
CloseOnSelection When True, the drop-down closes automatically after the user selects a font name. (inherited from TTMSFNCCustomFontNamePicker)
Font Font used to render the selected font name in the picker button area. (inherited from TTMSFNCCustomFontNamePicker)
Items List of font names displayed in the drop-down. Populate at design time or at runtime to restrict the available choices. (inherited from TTMSFNCCustomFontNamePicker)
SelectedFontName Currently selected font name shown in the picker. (inherited from TTMSFNCCustomFontNamePicker)

Events

Name Description
OnCustomize Fires after the drop-down popup is created, allowing customization of its contents. (inherited from TTMSFNCCustomFontNamePicker)
OnFontNameSelected Fires when the user selects a font name from the drop-down list. (inherited from TTMSFNCCustomFontNamePicker)

Used by