Hi,

> If SpBtnBold.Down then Image.Canvas.Font.Style := fsBold ;

Should be:

If SpBtnBold.Down then Image.Canvas.Font.Style := [fsBold];

This way if you wanted the font to be bold and underlined you could use:

If SpBtnBold.Down then Image.Canvas.Font.Style := [fsBold, fsUnderline];

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

Reply via email to