ButtonEx ActiveX Control Reference

MaskColor property

         

Returns or sets a color in a button’s Picture to be a "mask" (that is, transparent).

Property type

An OLE_COLOR object.

Syntax

object.MaskColor [= color]

The MaskColor 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 MaskColor at design time is set to Black.

Problems, Suggestions, Praise concerning the documentation? Please send feedback.