Sub ScrollView1_ScrollChanged (OffsetX As Int, OffsetY As Int)
For Each p As Panel In panels
If p.Left = OffsetX Then
Log("Current page index is: " & p.Tag)
'this is the page changed event...
noPageControl.SetField("currentPage", p.Tag)
End If
Next
End Sub