Sign in Join
FPDoc Onlineexperiment

TCoolBand.FixedBackground property

Member of TCoolBandpublishedIn unit ComCtrls

Indicates if a fixed background is drawn for the band.

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.