Sets the value for the ParentBackground property.
Source position: forms.pp line 218
protected procedure TScrollBox.SetParentBackground( |
const AParentBackground: Boolean |
); override; |
AParentBackground |
|
New value for the ParentBackground property. |
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.
|
Indicates if the control uses the background from its Parent control. |
|
|
Updates ControlStyle flags to set the opacity for the control. |
|
CT Web help |
CodeTyphon Studio |