Sign in Join
FPDoc Onlineexperiment

TCustomFrame.ParentBackground property

Member of TCustomFramepublicIn unit Forms

Indicates if the control uses the background from the parent.

Declaration

pascal
property ParentBackground: default True;

Description

The write access specifier is overridden in TCustomFrame. It calls the inherited method on entry.

If the new property value is True and ParentColor is True, the color assigned to the Parent control is stored in the Color property. Otherwise, Color is set to the value clDefault. The UpdateOpaque method is called to adjust the control style flags for the control.

The default value for the property is True.

See also

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