Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Syntax for setting the style BOLD of a label

edited July 2005 in End User
Hi, how do you conditionally format the font style for a label? EG, I want
to set the font to BOLD when certain conditions are met.

You can use: Label2.Font.Color:= clRed, for example to set the colour, but
I cannot find the correct syntax for setting the style. Have tried
Label2.Font.Style:= fsBold, but this is incorrect. Any help would be
appreciated, thanks.

Comments

This discussion has been closed.