rowHeight

Type: Integer array

Availability: Read or write at run time only

The rowHeight property enables the size of a row of a Table control to be accessed.

The font selected for the table determines the default value of the rowHeight property. The user can also change the rowHeight property by dragging a fixed row boundary with the mouse.

The rowHeight property contains a reference to an array of integer values with the same number of items as the rows property.

Setting the height of a row causes a repaint. Setting the rowHeight property of a row to zero (0) causes it to use the default row height.

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

while count > 0 do
    tbl.rowHeight[count] := (tbl.height / tbl.rows).rounded;
    count := count - 1;
endwhile;

Use the rowVisible property to hide a row rather than change its height.