True DBGrid uses a style model similar to that of Microsoft Word and Excel to simplify the task of customizing a grid's appearance. A Style object is a combination of font, color, picture, and formatting information comprising the following properties:
Specifies the horizontal text alignment. |
|
Controls the background color. |
|
Sets/returns a style's background picture. |
|
Controls how a style's background picture is displayed. |
|
Controls the appearance (3D effects) of cell borders. |
|
Specifies the color of cell borders. |
|
Specifies the size of cell borders. |
|
Controls which cell borders are displayed, if any. |
|
If True, displays an ellipsis (…) at the end of cell text. |
|
Specifies typeface, size, and other text characteristics. |
|
Controls the foreground color. |
|
Sets/returns a style's foreground picture. |
|
Controls how a style's foreground picture is positioned. |
|
Disallows in-cell editing when True. |
|
Returns the programmer-specified style name. |
|
Sets/returns the object from which a style inherits. |
|
True if the foreground picture uses a transparent color. |
|
Specifies vertical text alignment. |
|
Word wraps cell text when True. |