[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Indicates if the Color in the Parent control (TCoolBar) is used for the band.
Source position: comctrls.pp line 2521
published property TCoolBand.ParentColor : Boolean |
ParentColor is a Boolean property which controls the Color used to fill the background for the band. When ParentColor is set to True, the Color property from the parent control (TCoolBar) is used to fill the background for the band. When set to False, the Color property in the band is used as the background color. The default value for the property is True.
Changing the value for the property causes the Changed method to be called to update the item in the bands collection for the parent control (TCoolBar). Please note that ParentColor is automatically set to False when an explicit value is assigned to the Color property.
ParentColor and Color are used in the Paint method in TCustomCoolBar when the band is rendered on the canvas for the parent control.
Use Bitmap and ParentBitmap to enable use of a bitmap graphic as the background for the band.
|
Background color for the band. |
|
|
Bitmap image displayed for the band. |
|
|
Indicates if the Bitmap for the TCoolBar control is used as the background for the band. |
|
|
Draws the visible bands for the control on its Canvas. |
|
|
The background color for the control. |
Version 4.0 | Generated 2025-05-03 | Home |