Specifies the font color.
Declaration
TFontObj.Color
Read-Write Property | Integer |
TFontObj | A TFont object |
Description
The TFont.Color
property lets you get or set the color of the font used to display the component’s text.
Return Value
An integer value that specifies the desired color.
For the list of predefined color constants and instructions on how to calculate custom color values, see the Working With Colors topic.