TTMSFNCFontSizePicker Class
Drop-down picker component that displays standard font sizes for selection.
API unit family: TMSFNCFontSizePicker
Inherits from: TTMSFNCCustomFontSizePicker
Syntax
TTMSFNCFontSizePicker = class(TTMSFNCCustomFontSizePicker)
Properties
| Name | Description |
|---|---|
| CloseOnSelection | When True, the drop-down closes automatically after the user selects a font size. (inherited from TTMSFNCCustomFontSizePicker) |
| Font | Font used to render the selected font size in the picker button area. (inherited from TTMSFNCCustomFontSizePicker) |
| Items | List of font sizes displayed in the drop-down. Populate at design time or at runtime to restrict the available choices. (inherited from TTMSFNCCustomFontSizePicker) |
| SelectedFontSize | Currently selected font size; -1 when no size is selected. (inherited from TTMSFNCCustomFontSizePicker) |
Events
| Name | Description |
|---|---|
| OnCustomize | Fires after the drop-down popup is created, allowing customization of its contents. (inherited from TTMSFNCCustomFontSizePicker) |
| OnFontSizeSelected | Fires when the user selects a font size from the drop-down list. (inherited from TTMSFNCCustomFontSizePicker) |