I am having a Slight issue at the moment that I can not figure out how to sort
I am trying to scroll a gridview using a up and down arrow on the screen (this is a touch app)
This is what I have so far
Global.RowCount = 0
This runs when the form opens
Public Sub btnUpArrow_Click()
If Global.RowCount >= 1 Then
GridViewProducts.Select((Global.RowCount - 1), 1)
End If
End
I did the upArrow this way so as when it get to the second row and moves up it will go to 0 and then it would not go to a minus and crash
Public Sub btnDownArrow_Click()
If Global.RowCount < GridViewProducts.Rows.Count Then
GridViewProducts.Select((Global.RowCount + 1), 1)
End If
End
Down works once and then it does nothing and the up does not work at all
Am i on the right tack or am i completly off point here