Visual Basic: MSFlexGrid/MSHFlexGrid Controls
Returns or sets the uppermost visible row (other than a fixed row) in the MSHFlexGrid. This property is not available at design time.
The TopRow property syntax has these parts:
|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 MSHFlexGrid.|
You can use this property to programmatically read or set the visible top row of the MSHFlexGrid. Use the LeftCol property to determine the leftmost visible column in the MSHFlexGrid.
The largest row number that you can use when setting TopRow is the total number of rows minus the number of rows that are visible in the MSHFlexGrid. If this property is set to a greater row number, the MSHFlexGrid will reset it to this largest possible value.