From RAD Studio API Documentation
Jump to: navigation, search


property Transparent: Boolean read GetTransparent write SetTransparent stored FTransparentSet;


__property bool Transparent = {read=GetTransparent, write=SetTransparent, stored=FTransparentSet, nodefault};


Type Visibility Source Unit Parent
property protected
Vcl.StdCtrls TCustomLabel


Specifies whether controls that sit below the label on a form can be seen through the label.

Set Transparent to True to prevent the label from obscuring other controls on the form. For example, if the label is used to add text to a graphic, set Transparent to True so that the label does not stand out as a separate object.

When Transparent is True, the label always displays in the background color, and any Color setting is ignored. Also, when Transparent is True, writing text is slower than writing text when Transparent is False. If the label is not obscuring a complicated image, you might choose to optimize performance by doing both of the following things:

See Also