ComponentOne List 8.0 for ActiveX
Shortcut style properties

For your convenience, and for compatibility with earlier versions of True DBList, several shortcut properties are defined for accessing Style object members at either design time or run time:

Alignment

Specifies horizontal text alignment

BackColor

Sets/returns the background color

Font

Specifies the typeface, size, and other text characteristics

FooterAlignment

Specifies column footing alignment

ForeColor

Sets/returns the foreground color

HeadAlignment

Specifies column heading alignment

The following list shows the style property equivalent for each shortcut. It also indicates which properties are supported by the TDBList and TDBCombo controls, and which properties are supported by the Split and Column objects.

For example, the following statements are equivalent:

Example Title
Copy Code
TDBList1.Columns(0).HeadAlignment = dblCenter

TDBList1.Columns(0).HeadingStyle.Alignment = dblCenter

 

 


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

Product Support Forum  |  Documentation Feedback