Description
Returns/sets the text color displayed in the color button.
Usage
[form.][control.]CaptionColor[ = OLE_COLOR]
Data Type
OLE_COLOR
Default
System default button text color.
Remarks
This property sets or returns the text color displayed in color button, it dependences on Caption property.
See also Caption and CaptionFont properties.
Sample
ColorPicker1.CaptionColor = GetSysColor(COLOR_BTNTEXT)