RowHeight

Returns or sets the height of the specified row, in twips. Not available at design time.

Syntax

object.RowHeight( number )[= value ]

The RowHeight property syntax has these parts:

Part Description
object An object expression that evaluates to an object.
number Integer. The number of the row in the Grid control, or -1 to set all rows at once.
value Single. A numeric expression specifying the height of the row in twips.

Remarks

You can set RowHeight to zero to create invisible rows, or to –1 to reset the row height to its default value, which depends on the size of the current font.

RowHeight is independent of the form's scale mode.