RowHeight Property (MSHFlexGrid)

       

Returns or sets the height of the specified row, in twips. This property is 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 in the Applies To list.
number An integer that sets the number of the row in the MSHFlexGrid, or -1 to set all rows at once.
value A single numeric expression that specifies 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. The default row height varies according to the current font size.

The RowHeight property is independent of the form’s scale mode.