the code
Erel, no error and and not getting updated when scrolled.
kickaha, below is the partial sample code. I am still new and learning, please have a look.
Is it not the problem on consistencies in variables types used?
Sub tb1_FocusChanged (HasFocus As Boolean)
If HasFocus Then
Dim send As EditText
Send = Sender
FocusLocation=Send.Tag
Else
'....
End If
End Sub
Sub InsBtn_Click 'Insert
pnlheight=50dip
If FocusLocation<>-1 Then
Input1list.InsertAt(FocusLocation,"")
Input2list.InsertAt(FocusLocation,"")
editFlag1=True
editFlag2=True
LoadTable
editFlag2=False
ScrollView1.ScrollPosition = FocusLocation* pnlheight
End If
End Sub