From Xojo Documentation

Revision as of 19:07, 19 November 2009 by WikiSysop (talk) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


The currently selected operating system text color.



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 ForeColor value when drawing text.

The DisabledTextColor returns the system color for drawing disabled text. The default is a gray.

This value can be changed by the user, so you should access this value in the Paint event handler rather than storing the value.

See Also

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