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

TScrollBox.ParentBackground

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

Declaration

Source position: forms.pp line 225

published property TScrollBox.ParentBackground : Boolean
  default False;

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. The default value in TScrollBox is False.

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

TWinControl.ParentBackground

  

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

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.

TControlStyle

  

Set type used to store values from the TControlStyleType enumeration.

TControlStyleType

  

TControlStyleType - enumerated type describing features of the Control.

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