Skip to main content

TcxMRUFontNameItems.FindFontName(TFontName) Method

Searches for the specified font in the TcxMRUFontNameItems collection.

Declaration

function FindFontName(const AFontName: TFontName): TcxMRUFontNameItem; virtual;

Parameters

Name Type
AFontName TFontName

Returns

Type
TcxMRUFontNameItem

Remarks

The FindFontName method locates a font with the specified name within the MRU font list of a font name combo box.

Parameter Meaning
AFontName The name of the required font.

If successful, then this method returns a TcxMRUFontNameItems collection item representing the required font. Otherwise, nil is returned.

See Also