Method
TextColor
Warning
This item was deprecated in version 2019r2. Please use Color.TextColor as a replacement.
Description
The system text color.
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 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.
Compatibility
All project types on all supported operating systems.
See also
Color.DarkBevelColor, Color.DarkTingeColor, Color.DisabledTextColor, Color.FillColor, Color.FrameColor, Color.HighlightColor, Color.LightBevelColor, Color.LightTingeColor functions; Color data type.