Thanks.


> Because the font.Style property is a "set" you must enclose the value in
[]
>
> So
>   memo1.font.style := [fsBold];
>
> or
>
>   memo1.font.style := [fsBold, fsItalic];
>
> or
>
>   memo1.font.style := memo1.font.style + [fsBold];
>
> or
>
>   memo1.font.style := memo1.font.style - [fsBold];
>
> Chris

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to