[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Sets the value for the ParentBackground property.
Source position: stdctrls.pp line 173
protected procedure TCustomGroupBox.SetParentBackground( |
const AParentBackground: Boolean |
); override; |
AParentBackground |
|
New value for the ParentBackground property. |
SetParentBackground is an overridden method in TCustomGroupBox used to set the value for the ParentBackground property. It calls the inherited method on entry.
When the property value is set to True and ParentColor is enabled, the Color property in the Parent control is assigned to the Color property for the group box. Otherwise, clDefault is assigned to the Color property.
SetParentBackground calls the UpdateOpaque method to ensure that the ControlStyle flags for the control reflect the transparency needed to draw the parent background.
|
Sets the value for the ParentBackground property. |
|
|
Updates the control style when the parent background is used. |
|
|
Use the Color from the Parent control, when enabled. |
|
|
The control within which the control is shown. |
|
|
The default color of a given control. |
Version 4.0 | Generated 2025-05-03 | Home |