ComponentOne List 8.0 for ActiveX
BackgroundPicture Property

 

True DBList Reference> TDBList Properties> BackgroundPicture Property

BackgroundPicture Property

Sets/returns the background picture associated with a style.

Syntax

style.BackgroundPicture= variant

Remarks

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

Style Object, Styles Collection

 

 


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

Product Support Forum  |  Documentation Feedback