defaultRowHeight

Type: Integer

Availability: Read or write at any time

The defaultRowHeight property of the Table class specifies the default height of rows in a table, independent of the font. This property represents pixels and defaults to zero (0), indicating that the height of the row is determined by the font selected for the table.

If the value of this property is non-zero, the value is used to determine the height of all rows in the table that are not specifically set.

If the height of a row is set by logic, the specified value is used. If the height of a table row is not set by logic, if the value of the defaultRowHeight property is:

This default height is also used as the height of any cell that has a value set for the Table class inputType property.

The code fragment in the following example shows the use of the defaultRowHeight property.

if table1.defaultRowHeight = 0 then
    table1.defaultRowHeight := table1.rowHeight[1] + 2;
endif;

See also the ListBox class defaultLineHeight property.