Share via


TopRow Property (ModHFGrid)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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 the ModHFGrid Control object.
number A Long value that specifies the uppermost row in the ModHFGrid.

Remarks

You can use this property to read or set the visible upper row of the ModHFGrid programmatically. 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.

See Also

LeftCol Property (ModHFGrid) | Scroll Event (ModHFGrid) | ModHFGrid Control