[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCoolBand.Color

Background color for the band.

Declaration

Source position: comctrls.pp line 2513

published property TCoolBand.Color : TColor
  read FColor
  write SetColor
  stored IsColorStored
  default clDefault;

Description

The default value for the property is clDefault. Please note that the default value for ParentColor is True, and causes the color defined for the TCoolBar control to be used. Changing the value for the property causes ParentColor to be reset to False, and the Changed method is called to update the item in its bands collection.

The value in Color is ignored if a Bitmap is drawn as the background on the band.

See also

TCoolBand.ParentColor

  

Indicates if the Color in the Parent control (TCoolBar) is used for the band.

TCoolBand.ParentBitmap

  

Indicates if the Bitmap for the TCoolBar control is used as the background for the band.

TCoolBand.Bitmap

  

Bitmap image displayed for the band.

TCoolBand.FixedBackground

  

Indicates if a fixed background is drawn for the band.

TCustomCoolBar.Paint

  

Draws the visible bands for the control on its Canvas.


Version 4.0 Generated 2025-05-03 Home