Back to Devexpress

TcxMRUFontNameItems Class

vcl-cxfontnamecombobox-432bee50.md

latest2.2 KB
Original Source

TcxMRUFontNameItems Class

Represents the MRUFontNames collection.

Declaration

delphi
TcxMRUFontNameItems = class(
    TOwnedCollection
)

Remarks

The controls based on the TcxCustomFontNameComboBox class contain a hot-pick area where the most recently used font names are displayed. The MRU font list (or hot-pick area) is located at the top of the font name combo box but below the font preview (which might not be visible):

Use the Properties.MRUFontNames property to access the MRU font list programmatically. The Properites.MaxMRUFonts specifies the maximum number of font names displayed within the MRU font list. If this property value is 0, then the MRU list is not populated.

You can use the AddMRUFontName and DelMRUFontName methods to manage the MRU font list programmatically. Handle the OnAddedMRUFont and OnDeletedMRUFont events to provide additional functionality when adding/removing MRU fonts.

Inheritance

TObject TPersistent TCollection TOwnedCollection TcxMRUFontNameItems

See Also

TcxMRUFontNameItems Members

cxFontNameComboBox Unit