Transparent property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

bool TransparentColor

Delphi Syntax

TransparentColor: Boolean

Overview

Refer to Displaying an Image.

Remarks

(Persistent property, available at design time) Makes the background of the control transparent.

You can set this property to TRUE to take advantage of related transparency properties when one control is positioned on top of another one. Possible values are:

Value

Meaning

TRUE

The background is transparent.

FALSE

The background color paints.

See Also

Elements:

TransparentColor property, UseTransparentColor property, PaintRgnOnly property

Topics:

Working with the Control: General Behavior

 

Raster Images: Implementing Special Effects

 

Raster Images: Displaying Images

 

Raster Images: Creating and Using a Region

 

Implementing Transparency