How to Use Styles > Built-in Named Styles > Named style defaults |
As in Microsoft Word, a Style object in True DBList can inherit its characteristics from another style, referred to as the parent style. For a newly created list, the Normal style is the parent (or grandparent) of all named styles. Its default properties are as follows:
3 - General |
|
System Window Background |
|
None |
|
0 - Center |
|
The ambient font of the list's container |
|
System Window Text |
|
None |
|
0 - Left |
|
None |
|
False |
|
0 - Top |
|
False |
Note that the Normal style is a root-level style, since it does not have a value for the Parent property.
The Heading and Footing styles are defined similarly. Each inherits from Normal, and each overrides the following properties:
System Button Face |
|
System Button Text |
|
2 - Vertical Center |
The Heading style overrides one additional property that the Footing style does not:
False |
The Selected style also inherits from Normal and overrides two color properties:
System Highlight |
|
System Highlight Text |
The same is true of the HighlightRow style, which uses the inverse of the color settings for the default Normal style:
System Window Text |
|
System Window Background |
The EvenRow and OddRow styles inherit from Normal, but only EvenRow overrides any properties:
Light Cyan |
The only style that does not inherit directly from Normal is Caption, which inherits from Heading. The reason that list and split captions are centered by default is that the Caption style specializes the following property:
2 - Center |