RowHeight Property (TDBCombo)
This property returns or sets the height of all control rows in terms of the coordinate system of the control's container.
object.RowHeight= single
Read/Write at run time and design time.
Property applies to TDBList and TDBCombo controls.
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 control 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:
TDBList1.RowHeight = 0
TDBList1.RowHeight = TDBList1.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 at the left edge of the control.
Note: Increasing the RowHeight property does not wrap cell text at column boundaries unless the column's WrapText property is True.
See Also