TFont.Color

Applies to TestComplete 14.0, last modified on January 23, 2019

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.

See Also

TFont.Name
Working With Colors

Highlight search results