Skip to main content

TcxCustomFontNameComboBox.DelMRUFontName(TFontName) Method

Removes an item from the MRU font list.

Declaration

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