Skip to main content

TdxBar.BackgroundBitmap Property

Specifies the image used as the current toolbar’s background.

Declaration

property BackgroundBitmap: TBitmap read; write;

Property Value

Type
TBitmap

Remarks

Use the BackgroundBitmap property to assign a background image to the current toolbar. The specified image is used independently of the position or state of the toolbar. This implies that the bar can be docked to any dock control or floating. The image below shows an example.

You can also specify the default background image for all the bars owned by a bar manager. Use the Backgrounds.Bar property of the bar manager for this purpose.

If a toolbar is on a dock control and doesn’t have its own background image specified, it uses the background image of the underlying dock control. This means that bars are painted transparently.

See Also