[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Indicates if the control uses the background color from its Parent control.
Source position: controls.pp line 1582
protected property TControl.ParentBackground : Boolean |
ParentBackground is a Boolean property which indicates if the background color from the Parent control is used as the background color for the current control instance.
ParentBackground is True when csParentBackground is included in the ControlStyle property. Setting the value in ParentBackground causes ControlStyle to be updated to include or exclude the csParentBackground enumeration value; it is included when the property is set to True.
ParentBackground and ParentColor are updated when a new value is assigned to the Color property. The properties are set to False when an explicit color is assigned to the Color property.
|
Use the Color from the Parent control, when enabled. |
|
|
The background color for the control. |
|
|
Contains style flags which control the features or behaviors enabled for the control. |
|
|
The control within which the control is shown. |
|
|
Enumerated type with values for features or behaviors for a control. |
|
|
Set type used to store values from the TControlStyleType enumeration. |
Version 3.2 | Generated 2024-02-25 | Home |