Skip to main content

TdxBarFontNameCombo Example

This example demonstrates how to use a TdxBarFontNameCombo for applying font settings to a TEdit component. The following code snippet represents the TdxBarFontNameCombo.OnChange event handler.

procedure TForm1.dxBarFontNameCombo1Change(Sender: TObject);
begin
  if Length(dxBarFontNameCombo1.Text) <> 0 then
    Edit1.Font.Name := dxBarFontNameCombo1.Text;
end;