Appearance Property
Controls 3-D display of headings and caption.
object.Appearance= value
Read/Write at run time and design time.
Property applies to TDBList and TDBCombo controls.
Values
Design Time |
Run Time |
0 - Flat |
dblFlat |
1 - 3D (default) |
dbl3D |
2 - Mixed Flat |
dblMixedFlat |
3 - XP Theme |
dblXPTheme |
When this property is set to 0 - Flat, no visual effects are used.
When this property is set to 1 - 3D, the control paints its caption bars, column headings, and column footings with three-dimensional effects.
When this property is set to 2 - Mixed Flat, the control paints everything flat except the scrollbars and buttons.
When this property is set to 3 – XP Theme, the control paints its caption bars, column headings, and column footings with XP effects.
The Appearance property is independent of the BorderStyle and BackColor properties and only affects the control's caption bars, column headings, and column footings. The control's data cells, row dividers, and column dividers are not affected.
This property only affects the way in which static elements such as caption bars are drawn; it does not affect their visibility. Use the Caption, ColumnHeaders, and ColumnFooters properties to control the visibility of these components.
See Also