ComponentOne List 8.0 for ActiveX
How to Use Styles

True DBList uses a style model similar to that of Microsoft Word and Excel to simplify the task of customizing a list's appearance. A Style object is a combination of font, color, picture, and formatting information comprising the following properties:

Alignment

Specifies the horizontal text alignment

BackColor

Controls the background color

BackgroundPicture

Sets/returns a style's background picture

BackgroundPictureDrawMode

Controls how a style's background picture is displayed

Font

Specifies typeface, size, and other text characteristics

ForeColor

Controls the foreground color

ForegroundPicture

Sets/returns a style's foreground picture

ForegroundPicturePosition

Controls how a style's foreground picture is positioned

Parent

Sets/returns the object from which a style inherits

TransparentForegroundPicture

True if the foreground picture uses a transparent color

VerticalAlignment

Specifies vertical text alignment

WrapText

Word wraps cell text when true

 

 


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

Product Support Forum  |  Documentation Feedback