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

TCustomLabel.Transparent

Whether the viewer can see through the control. The default value is true

Declaration

Source position: stdctrls.pp line 1531

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

Description

Opaque Labels have their enclosing rectangle filled with the background color of the label. This can be the color of the Parent control, when ParentColor is True. Setting Transparent to True makes the label transparent, not hiding any background details.

Note that the default value of this property in the LCL is true, which is different from the default value in Delphi.

See also

#LCL.Controls.TControl.ParentColor

  

If true, the Color of the control will be the same as the one from the Parent. Default is true.

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