From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
Shared Method


New in 2019r2

Supported for all project types and targets.

The system text color.


result = Color.TextColor

Part Type Description
result Color The color used for drawing text.


This value is useful when you are using Canvas controls to create custom controls. When drawing objects, use this color as the DrawingColor value when drawing text.

The Color.DisabledTextColor returns the system color for drawing disabled text.

This value can be changed by the user or when the system switches between light/dark modes, so you should use this method in the Paint event handler rather than storing the value.

See Also

Color for a complete list of functions.