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

TWinControl.ParentBackground

Indicates if the control uses the background for its Parent control.

Declaration

Source position: controls.pp line 2254

protected property TWinControl.ParentBackground : Boolean
  read GetParentBackground
  write SetParentBackground;

Description

ParentBackground is a Boolean property which indicates if the background for the Parent control is drawn as the background for the current control instance.

ParentBackground is True when csParentBackground is included in the ControlStyle property. Setting the value in ParentBackground causes ControlStyle to be updated to include or exclude the csParentBackground enumeration value; it is included when True.

See also

TControl.ControlStyle

  

Style flags, specifying whether the control responds to mouse clicks, can be re-sized, has particular actions, etc.

TControl.Parent

  

The control within which the control is shown.

TControlStyleType

  

TControlStyleType - enumerated type describing features of the Control.

TControlStyle

  

Set type used to store values from the TControlStyleType enumeration.

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