Transparent Property

Applies to TestComplete 14.70, last modified on April 22, 2021

Specifies whether the component’s background is transparent.

Declaration

componentObj.Transparent
Read-Write Property Boolean
componentObj     One of the user forms components or objects listed in the Applies To section  

Applies To

This property applies to the following components and objects:

TcxGroupBox, TcxLabel, TcxLabelProperties, TcxProgressBar, TcxProgressBarProperties, TcxRadioGroup, TImage

Description

The property’s meaning depends on the object to which the property belongs.

TcxGroupBox, TcxLabel, TcxLabelProperties, TcxProgressBar, TcxProgressBarProperties, TcxRadioGroup

The Transparent property specifies whether the component’s background is transparent.

Note: On Windows XP and later operating systems the TcxGroupBox component is transparent if you use any Windows theme different from Windows Classic.

Property Value

True, if the component’s background is transparent; False if the background is opaque.

TImage

If the Transparent property is True, the TImage component treats the color of the leftmost-bottom pixel as “transparent”. All other pixels of this color are skipped when the image is being drawn. If Transparent is False, the image is drawn as is, without skipping any pixels.

Property Value

A boolean value (true or false). True if you need the component to treat the color of the bottom leftmost pixel as transparent; False otherwise.

Highlight search results