Transparent property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax BOOL Transparent

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.

Value

Meaning

TRUE

The background is transparent.

FALSE

The background color paints.

Setting this property to TRUE also results in the following property changes: AutoScroll is set to FALSE; Appearance is set to 0 (flat); and BorderStyle is set to 0 (no border).

See Also

Elements:  BitmapTransparentColor property, Bitmap Enable Transparency 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