Sets the background used for the parent control.
Source position: extctrls.pp line 1089
protected procedure TCustomPanel.SetParentBackground( |
const AParentBackground: Boolean |
); override; |
AParentBackground |
|
When True, the panel is drawn with transparency. |
SetParentBackground is an overridden procedure used to the set the background used for the parent control. SetParentBackground ensures that the ControlStyle property is updated to include or omit the value csOpaque. When AParentBackground contains True, the value is excluded from ControlStyle. When AParentBackground contains False, the value is included in ControlStyle.
SetParentBackground calls the inherited method prior to exit.
|
Sets the value for the ParentBackground property. |