RE: [DUG]: Tbitbtn.Font.Style:=fsBold;

1999-03-30 Thread John Christenhusz
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: Wedn

Re: [DUG]: Tbitbtn.Font.Style:=fsBold;

1999-03-30 Thread Aaron Scott-Boddendijk
Um I think it's a set... TFontStyle is the enumeration and TFontStyles is the set of that enumeration. So you need to add fsBold to the set of selected styles. ToAll1.Font.Style := ToAll1.Font.Style + [fsBold]; I think there is an include notation include(ToAll1.Font.Style,fsBold); but this on

RE: [DUG]: Tbitbtn.Font.Style:=fsBold;

1999-03-30 Thread Kuet-Fung Chong
>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.

RE: [DUG]: Tbitbtn.Font.Style:=fsBold;

1999-03-30 Thread Cooke, Andrew
TFontStyles is a set. ToAll1.Font.Style is of type TFontStyles. TFontStyle is only an item that may appear in the set TFontStyles. fsBold is a TFontStyle. [fsBold] is a set of TFontStyle and is therefore compatible with TFontStyles. Therefore use: ToAll1.Font.Style := [fsBold]; OR ToAll1.F

RE: [DUG]: Tbitbtn.Font.Style:=fsBold;

1999-03-30 Thread Tim McSweeney
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: [