The Style property is a set, so it can contain multiple values. For
example, a font could be both boldfaced and italicised.
In your case write: ToAll1.Font.Style := [fsBold];
Cheers,
John Christenhusz
> -----Original Message-----
> From: Alistair George [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 31, 1999 9:14 AM
> To: Multiple recipients of list delphi
> Subject: [DUG]: Tbitbtn.Font.Style:=fsBold;
>
>
> When I apply the above as
> ToAll1.Font.Style:=fsBold;
> I get a compiler error: incompatible types: Tfontstyles and Tfontstyle
> Whats the story??
> thanks,
> Alistair+
> --------------------------------------------------------------
> -------------
> New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz