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


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


Source position: controls.pp line 2259

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


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



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



The control within which the control is shown.



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



Set type used to store values from the TControlStyleType enumeration.

CT Web help

CodeTyphon Studio