>When I apply the above as
> ToAll1.Font.Style:=fsBold;
>I get a compiler error: incompatible types: Tfontstyles and Tfontstyle
>Whats the story??
Font.Style is a set. You need to do
ToAll1.Font.Style:=[fsBold];
Cheers,
Kuet-Fung.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
- [DUG]: Tbitbtn.Font.Style:=fsBold; Alistair George
- RE: [DUG]: Tbitbtn.Font.Style:=fsBold; Tim McSweeney
- RE: [DUG]: Tbitbtn.Font.Style:=fsBold; Cooke, Andrew
- Re: [DUG]: Tbitbtn.Font.Style:=fsBold; Kuet-Fung Chong
- Re: [DUG]: Tbitbtn.Font.Style:=fsBold; Aaron Scott-Boddendijk
- RE: [DUG]: Tbitbtn.Font.Style:=fsBold; John Christenhusz
