' Process and Display Data and prepare Next Row for the DemoTV
Sub DoSomething
Dim obj() As Object
obj = DemoTV.SelectedRowValues
RowLbl.Text = TVIdx
MeetLbl.Text = obj(1)
' Set Next Row Index for Selection
TVIdx = TVIdx + 1
' There are 10 items viewable in the DemoTV
' Scrolls after a number of Records are displayed
' 8 Recorda are chosen in this example
If TVIdx > 8 Then
' ScrollTo moves the Selected Row to the TOP of the TableView
' providing there are enough items in the TableView
DemoTV.ScrollTo(TVIdx - 8)
End If
' Check for more rows and update Selected Row and Enable Timer
If TVIdx < DemoTV.Items.Size Then
' Select the Next Index
DemoTV.SelectedRow = TVIdx
SeqTimer.Enabled = True
End If
End Sub