TopRow Property (ModHFGrid)

See Also    Applies To

Returns or sets the uppermost visible row (other than a fixed row) in the ModHFGrid. This property is not available at design time.

Syntax

object.TopRow [=number]

The TopRow property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
number A Long value that specifies the uppermost row in the ModHFGrid.

Remarks

You can use this property to programmatically read or set the visible upper row of the ModHFGrid. Use the LeftCol property to determine the leftmost visible column in the ModHFGrid.

The largest row number you can use when setting TopRow is the total number of rows minus the number of rows that are visible in the ModHFGrid. If this property is set to a greater row number, the ModHFGrid will reset it to this largest possible value.