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

# TCoolBand.FixedBackground

Indicates if a fixed background is drawn for the band.

## Declaration

Source position: comctrls.pp line 2518

`published property TCoolBand.FixedBackground : Boolean read FFixedBackground write SetFixedBackground default True;`

## Description

FixedBackground is a Boolean property which indicates whether a Bitmap drawn as the background for the band has a fixed position and size. The default value for the property is True and causes the bitmap graphic to be displayed at a fixed position using the size for the image. When set to False, the bitmap is tiled to fill the display area for the band.

Changing the value for the property causes the Changed method to be called to update the item in the bands collection for the parent cool bar control.

FixedBackground is used, along with Bitmap and ParentBitmap, when the Paint method in TCustomCoolBar is called to render the control to its canvas. Use Color to specify the background color for the band when a bitmap is not used.

## See also

TCoolBand.Bitmap |  | Bitmap image displayed for the band.
TCoolBand.Color |  | Background color for the band.
TCoolBand.FixedSize |  | Indicates whether the band is drawn with a fixed size.
TCoolBand.ParentBitmap |  | Indicates if the Bitmap for the TCoolBar control is used as the background for the band.
TCustomCoolBar.Paint |  | Draws the visible bands for the control on its Canvas.