BackgroundPicture Property
Sets/returns the background picture associated with a style.
style.BackgroundPicture= variant
Read/Write at run time and design time.
Property applies to Style object.
This property sets or returns the background bitmap of a style object. 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:
TDBList1.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.
See Also