Object Reference > TDBDropDown Properties > HeadLines Property (TDBDropDown) |
This property returns or sets a value indicating the number of lines of text displayed in a TDBGrid or TDBDropDown control's column headers.
object.HeadLines= single
Read/Write at run time and design time.
The HeadLines property accepts a floating point number from 0 to 10. The default value is 1, which causes the grid to display the caption for each Column object on a single line within its header area, provided that ColumnHeaders is True.
A setting of 0 removes the headings and has the same effect as setting the ColumnHeaders property to False.
Note
By default, a Column object's caption contains the name of its underlying field as specified by the DataField property. You can use the Caption property to override the text displayed within column headers.