>> The following wont work:
>> ToAll1.Font.Style:= [fsRegular];


>that is because fsRegular does not exist as you will see in the help file
>the way the style property values are displayed in Object Inspector makes
>it exceedingly obvious as to how to use the property.


Actually the Object inspector shows them as being a list of booleans - hardly
pascal syntax at all... more importantly it doesn't make you at all aware of the
delphi syntax to clear a single property.  You certainly can't go
"Blah.Font.Style.Bold := False" now can you...

--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to