Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TWinControl.ParentBackground

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

Declaration

Source position: controls.pp line 2259

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

  

Contains style flags which control the features or behaviors enabled for the control.

TControl.Parent

  

The control within which the control is shown.

TControlStyleType

  

Enumerated type with values for features or behaviors for a control.

TControlStyle

  

Set type used to store values from the TControlStyleType enumeration.



CT Web help

CodeTyphon Studio