-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Aaron Scott-Boddendijk
> Sent: Wednesday, 31 March 1999 10:36
> To: Multiple recipients of list delphi
> Subject: Re: [DUG]: font.style
>
>
> >> 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...
The fsbold, fsitalic bits of the EXPANDED property are shown as
true/false, the collapsed style property is shown as
[fsbold,fsitalic] or [] when no styles are set.
============================================
Patrick Dunford, Christchurch, NZ
PRO VSM - Human Rights for Students!
http://patrick.dunford.com/
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.0.2i
iQA/AwUBNwCx05/ufSMMVdBMEQLwjwCg8gnveSVPb6y+1YWIm/b/eAlbOQ0AnjAr
UJpyuhWoSftJZ69fi7stFsp2
=R64/
-----END PGP SIGNATURE-----
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz