[Overview][Types][Classes][Procedures and functions][Index] |
Indicates if the background from the parent control is used to draw the background for the control.
Source position: extctrls.pp line 1102
public property TCustomPanel.ParentBackground : Boolean |
When ParentBackground is True, the control uses the background from the parent color (including any theme drawing features from ThemeServices).
ParentBackground is used in conjunction with the ControlStyle property. Changing the value in ParentBackground causes the ControlStyle property to be updated to reflect the property setting. When the property is set to True, the value csOpaque is excluded from ControlStyle to allow the default background to be drawn. When the property is set to False, the value csOpaque is included in the ControlStyle property.
The default value for the property is True.
|
Style flags, specifying whether the control responds to mouse clicks, can be re-sized, has particular actions, etc. |
|
|
Indicates if the control uses the background for its Parent control. |
lazarus-ccr.sourceforge.net |