Skip to main content

TcxCustomFontNameComboBox Class

Serves as the base class for classes that implement combo box editors providing a list of fonts.

Declaration

TcxCustomFontNameComboBox = class(
    TcxCustomComboBox
)

Remarks

The font name combo box editor supports a preview area, where the selected font is displayed. The preview areas features are controlled by the TcxFontPreview class. The TcxFontPreview.Visible property is used to show and hide the preview area. The TcxFontPreview.ShowButtons property toggles the visibility of style-formatting buttons.

Another feature is the most recently used (MRU) font list. This list is displayed within a special editor area known as the hot-pick area. The fonts displayed in this hot-pick area are controlled by the TcxMRUFontNameItems collection. Use the MaxMRUFonts property of the TcxFontNameComboBox to specify the maximum number of fonts displayed in this area. Various font name combo box settings can be accessed by the Properties member.

Do not create instances of the TcxCustomFontNameComboBox class in your applications. If you need a font name combo box, use the TcxFontNameComboBox editor. The TcxCustomFontNameComboBox class, in turn, can be used to derive other font name combo box controls.

See Also