Skip to content

Label_TextColor - cRichEdit

The text color of the object's label

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer Label_TextColor
Access Type Syntax
Read Access: Get Label_TextColor to IntegerVariable
Write Access: Set Label_TextColor to IntegerVariable/Value

Description

Determines the text color of the object's label. This is passed a single value representing an RGB color, which can be a constant representing a Standard Color or a System Color, or a set of R, G and B values. Individual Red, Green, and Blue colors are converted to a single value by using the RGB function.

The default is clNone. When set to clNone, the Color of the parent container is used.

Set Label_TextColor to (rgb(255, 0, 0)) // red
Set Label_TextColor to clPurple
Set Label_TextColor to clBtnFace