Topic: RTF Component default font

Is it possible to change RTF Component default font from arial to another font such as Segoe UI?

Adam
God... please help me become the person my dog thinks I am.

Re: RTF Component default font

Check it out

procedure Form1_OnShow (Sender: TObject; Action: string);
begin
    Form1.RichEdit1.Style.TextStyles[0].FontName := 'Verdana';
    Form1.RichEdit1.Style.TextStyles[0].Size := 16;
    Form1.RichEdit1.Style.TextStyles[0].Color := clRed;
    Form1.RichEdit1.Style.TextStyles[0].Style := fsBold+fsItalic+fsUnderline;
    Form1.RichEdit1.ApplyTextStyle(0);
end;
Dmitry.

Re: RTF Component default font

Thank you very much Dmitry..............
Truly appreciated ...........................

Adam
God... please help me become the person my dog thinks I am.