ComponentOne True DBGrid Pro 8
BackgroundPicture Property

BackgroundPicture Property

This property sets or returns the background bitmap of a style object.

Syntax

style.BackgroundPicture= variant

Remarks

Read/Write at run time and design time.

If a style has no background bitmap, then this property returns a null variant.

You can change a style's background bitmap at design time using the Style Factory property page. Or, you can assign a bitmap to the BackgroundPicture property in code at run time:

TDBGrid1.HeadingStyle.BackgroundPicture = LoadPicture("seaside.bmp")

Note

Use the BackgroundPictureDrawMode property to control how the background bitmap is displayed when the style is applied to an object.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback