VLButtonBar Reference

Read/Write Property ButtonPictureMaskColor

See Also See Also Applies To Applies To

Returns or sets the color that determines the transparent region of the bitmap assigned to the buttons in VLButtonBar control.

 

Syntax

object.ButtonPictureMaskColor [=color]

 

The ButtonPictureMaskColor property syntax has these parts:

Part Description
object An object expression that evaluates to the objects in Applies to list.
color A value or constant that determines the color to be used as a mask. .

 

Remarks

When a bitmap is assigned to the Picture property of a Button , the background pixels show through wherever the bitmap pixel colors match the ButtonPictureMaskColor property.

If the specified Picture is an ICON, then this property will not have any effect on it, as you can specify the transparency in the picture itself.