[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Indicates whether the viewer can see through the control.
Source position: stdctrls.pp line 1602
protected property TCustomLabel.Transparent : Boolean |
When Transparent is set to False, the enclosing rectangle for the control is filled with the background Color for the label. If Color contains clNone, then clBackground is used in the Color property.
When set to True, Color is changed to clNone and the background appears to be transparent (no opacity).
The default value for Transparent in the LCL is True, which differs from the default value in the Delphi VCL.
Values in Color, Transparent, and ParentColor are inter-dependent; changing the value in one property affects the values in the other properties. Use ParentColor to toggle values in Color and Transparent. Use Color to set an explicit background color for the control and toggle values in Transparent and ParentColor.
|
Sets the color used for the background of the control. |
|
|
Use the Color from the Parent control, when enabled. |