Object Reference > TDBDropDown Properties > RowHeight Property (TDBDropDown) |
This property returns or sets the height of all grid rows in terms of the coordinate system of the grid's container.
object.RowHeight= single
Read/Write at run time and design time.
The RowHeight property accepts a floating point number from 0 to 10,000. The default value depends upon the character height of the current font.
A setting of 0 causes the grid to readjust its display so that each row occupies a single line of text in the current font. Therefore, the following statements will set the row height so that exactly two lines of text are shown in each row:
TDBGrid1.RowHeight = 0
TDBGrid1.RowHeight = TDBGrid1.RowHeight * 2
If the control's AllowRowSizing property is set to True, then the user can adjust the RowHeight property at run time by dragging the row divider between any pair of record selectors.
Note
Increasing the RowHeight property does not wrap cell text at column boundaries unless the column's WrapText property is True.