Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomFontNameComboBox.DelMRUFontName(TFontName) Method

Removes an item from the MRU font list.

#Declaration

Delphi
function DelMRUFontName(const AFontName: TFontName): TcxMRUFontNameAction;

#Parameters

Name Type
AFontName TFontName

#Returns

Type
TcxMRUFontNameAction

#Remarks

Use the DelMRUFontName method to remove the name of a font from the MRU font list. If successful, the font item disappears from the control’s MRU font list area. If the Properties.MaxMRUFonts property value is 0 (there are no MRU fonts within the list), this method does nothing.

Parameter Meaning
AFontName The name of the font to remove.

The return value of this method is a TcxMRUFontNameAction enumerator value. See the enumerator description for details.

Successful execution of this method raises the OnDeletedMRUFont event.

See Also