DesktopTextControl.TextColor

From Xojo Documentation

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

New in 2021r3

Supported for all project types and targets.

Gets or sets the color of the text. The default value is black (&c000000).

Sample Code

The following example sets the TextColor.

Me.TextColor = &cFF0080

See Also

UserGuide:Dark Mode