Skip to main content

TcxCustomFontNameComboBoxProperties.LoadFontNames Method

Populates the control with font names.

Declaration

procedure LoadFontNames; virtual;

Remarks

The LoadFontNames procedure loads font names into the TcxFontNameComboBox control. Upon successful completing, this procedure populates the FontItems property with the names of the fonts, sets the LoadFontComplete property to True and fires the OnLoadFontComplete event.

You can override the LoadFontNames procedure to implement custom loading of fonts. For example, you can implement functionality to load fonts from files, streams, XML objects and so on. See the following example for details.

See Also