TfontStyles is a set of TFontStyle elements try using 
ToAll1.Font.Style:=[fsBold];

Tim

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Alistair George
> 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

Reply via email to