Nesler, Thomas J wrote:
> Hello!
> 
> I am creating a simple paint program for an application.  I need to be
> able to turn on and off the Bold property of the font.
[]
> Thanks in advance!
> 
> Tom Nesler

Tom, try:

  Image.Canvas.Font.Style := Image.Canvas.Font.Style + [fsBold] ;

and:

  Image.Canvas.Font.Style := Image.Canvas.Font.Style - [fsBold] ;

FontStyle is a set, to which members can be added or removed.

Cheers,
David
-- 
SatSignal software - quality software written to your requirements
Web:  http://www.satsignal.eu
Email:  [EMAIL PROTECTED]

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to