Sign in Join
FPDoc Onlineexperiment

TScrollBox.ParentBackground property

Member of TScrollBoxpublishedIn unit Forms

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

Declaration

pascal
property ParentBackground: default True;

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 True.

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. csOpaque is added to or removed from ControlStyle by calling the UpdateParentColorChange method. The style flags are included in ControlStyle when ParentBackground is set to True, and excluded when set to False.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.