Label.TextColor

From Xojo Documentation

Property (As Color )
aLabel.TextColor = newColorValue
or
ColorValue = aLabel.TextColor

Supported for all project types and targets.

Gets or sets the color of the caption or the text content.

Notes

The default value is black:

&c000000

Classes implementing the TextColor property

BevelButton Windows and Linux only New in 2009r4
Label
ReportLabel
StyleRun
TextEdit
ReportField

Sample Code

This code specifies a red color with a transparency value of hex A4:

Me.TextColor = &cff0000a4

See Also

UserGuide:Dark Mode