[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomLabel.Transparent

Indicates whether the viewer can see through the control.

Declaration

Source position: stdctrls.pp line 1602

protected property TCustomLabel.Transparent : Boolean
  read GetTransparent
  write SetTransparent
  default True;

Description

Opaque labels have their enclosing rectangle filled with the background Color for the label. This can be the color of the Parent control, when ParentColor is True. Setting Transparent to True makes the label transparent, and does not fill the background for the control or hide any background details.

Please note: The default value of this property in the LCL is True, which differs from the default value in the Delphi VCL.

See also

TControl.ParentColor

  

Use the Color from the Parent control, when enabled.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.