ComponentOne List 8.0 for ActiveX
ForegroundPicture Property

 

True DBList Reference> TDBList Properties> ForegroundPicture Property

ForegroundPicture Property

This property sets or returns the foreground bitmap of a style object. If a style has no foreground bitmap, then this property returns a null variant.

Syntax

style.ForegroundPicture= variant

Remarks

Read/Write at run time and design time.

Property applies to Style object.

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

TDBList1.HeadingStyle.ForegroundPicture = LoadPicture("bell.bmp")

Note: Use the ForegroundPicturePosition property to control the placement of the bitmap relative to the cell or heading text when the style is applied to an object. Use the TransparentForegroundPicture property to specify a background mask.

See Also

Style Object, Styles Collection

 

 


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

Product Support Forum  |  Documentation Feedback