Sign in Join
FPDoc Onlineexperiment

TCustomFrame.SetParentBackground procedure

Member of TCustomFrameprotectedIn unit Forms

Sets the value for the ParentBackground property.

Declaration

pascal
procedure SetParentBackground(const AParentBackground: Boolean)
 ; override

Arguments

AParentBackground

New value for the ParentBackground property.

Description

Ensures that Color is changed to the value in the Parent control when the property is set to True. Color is set to clDefault when the property is set to False. Calls UpdateOpaque to ensure that the csOpaque style flag is applied to the ControlStyle property as needed.

See also

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