Sign in Join
FPDoc Onlineexperiment

TScrollBox.SetParentBackground procedure

Member of TScrollBoxprotectedIn 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

SetParentBackground is an overridden method in TScrollBox which implements the write access specifier for the ParentBackground property. It calls the inherited method on entry to update the values in the ControlStyle property and invalidate the control. It calls the UpdateParentColorChange method to include or exclude csOpaque as needed in ControlStyle; the value is included when ParentBackground is changed to True.

See also

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