Returns or sets the uppermost visible row (other than a fixed row) in the Grid. Not available at design time.
object.TopRow [= number ]
The TopRow property syntax has these parts:
Part | Description |
---|---|
object | An object expression that evaluates to an object. |
number | Long. A numeric expression specifying the uppermost row in Grid. |
You can use this property in code to programmatically read or set the visible top row of the Grid. Use the LeftCol property to determine the leftmost visible column in the Grid.
When setting this property, the largest possible row number is the total number of rows minus the number of rows that can be visible in the Grid. Attempting to set TopRow to a greater row number will cause the Grid to set it to the largest possible value.