ButtonEx ActiveX Control Reference

ForeColor property

         

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:

PartDescription
objectAn expression evaluating to an object of type ButtonEx.
colorAn 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.