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
- [DUG]: Style Joel van Velden
- RE: [DUG]: Style Chris Crowe
- RE: [DUG]: Style Joel van Velden
- RE: [DUG]: Style Peter Harrison IT
