TextColor

From Xojo Documentation

Revision as of 20:13, 5 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Method

The system text color.

Usage

result = TextColor

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

Notes

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

The 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

DarkBevelColor, DarkTingeColor, DisabledTextColor, FillColor, FrameColor, HighlightColor, LightBevelColor, LightTingeColor functions; Color data type.