ButtonEx ActiveX Control Reference
Returns/sets the foreground color used to display text on the button.
Property type
An OLE_COLOR object.
Syntax
object.ForeColor [= color]
The ForeColor property syntax has these parts:
| Part | Description |
| object | An expression evaluating to an object of type ButtonEx. |
| color | An OLE_COLOR object. |
Settings
This control uses the Microsoft Windows operating environment red-green-blue (RGB) color scheme. The settings for color are:
| Setting | Description |
| Normal RGB colors | Colors specified by using the Color palette or by using the RGB or QBColor functions in code. |
| System default colors | Colors specified by system color constants. The Windows operating environment substitutes the user's choices as specified in the Control Panel settings. |
The default setting for ForeColor at design time is set to the system default color specified by the constant vbButtonText (for Visual Basic)
Problems, Suggestions, Praise concerning the documentation? Please send feedback.