CustomForeColor Property

Description

Returns/sets the text color displayed in custom button in popup window.

Usage

[form.][control.]CustomForeColor[ = OLE_COLOR ]

Data Type

OLE_COLOR

Default

System default button text color.

Remarks

This property sets or returns the custom item button text color, generally this value is the same with dropped down popup window text color.

This property dependences on EnableCustomItem property, See also EnableCustomItem property.

Sample

ColorPicker1.CustomForeColor = &HFF0000