TextColor property

From Xojo Documentation

(Redirected from StyleRun.TextColor)
Property (As Color )
a<see below>.TextColor = newColorValue
or
ColorValue = a<see below>.TextColor

Supported for all project types and targets.

Gets or sets the color of the caption or the text content. 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

The following example sets the TextColor.

Me.TextColor = &cFF0080

See Also

UserGuide:Dark Mode