In VB6, I got the following codes, how to do the same in VB 2005?
It set the rows(i) to be displayed in screen. but in VB.net, there is no TopRow.
vb.NET Code:
If (Grid.RowIsVisible(i) = False) Then If (Grid.Rows - 7) < i Then Grid.TopRow = (frm_korea.KRIDMapGrid.Rows - 7) Else Grid.TopRow = i End If End If




Reply With Quote