TFont.Color

Applies to TestComplete 15.47, last modified on January 20, 2023

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.

Remarks

This property will not affect the font color of TcxTextEdit components. To get or set the font color, use the TcxTextEdit.Style.TextColor property instead.

See Also

TFont.Name
Working With Colors

Highlight search results