TScrollBox.SetParentBackground procedure
Sets the value for the ParentBackground property.
Declaration
procedure SetParentBackground(const AParentBackground: Boolean)
; overrideArguments
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
- ParentBackground
- UpdateParentColorChange
- TControl.SetParentBackground
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
