Skip to main content

TcxMRUFontNameItems Class

Represents the MRUFontNames collection.

Declaration

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):

MRU Hot-Pick Area

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

See Also