Sign in Join
FPDoc Onlineexperiment

TCoolBand.ParentBitmap property

Member of TCoolBandpublishedIn unit ComCtrls

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

Declaration

pascal
property ParentBitmap: Boolean read FParentBitmap write SetParentBitmap default True;

Description

ParentBitmap is a Boolean property which allows the Bitmap assigned to the parent control (TCoolBar) to be used as the background image for the band. The default value for the property is True, and enables use of the Bitmap assigned to the parent control.

Use Bitmap to assign the bitmap graphic displayed on the band. Please note that ParentBitmap is automatically set to False when an explicit value is assigned to the Bitmap property in the class instance.

ParentBitmap and Bitmap are used in the Paint method in TCustomCoolBar when the background is drawn for the band.

Use FixedBackground to control whether the background is drawn at a fixed position instead of tiled.

Use Color and ParentColor to specify the color for the band when a bitmap background is not used.

See also

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